Updating Active Directory User Information with PowerShell
If you have installed the free RSAT tools from Microsoft, you can use PowerShell to update information stored in your AD user account, for example your office phone number.
This example shows how a PowerShell script would prompt for a new office phone number which would then be updated in the Active Directory:
#requires -Version 1 -Modules ActiveDirectory $phoneNumber = Read-Host -Prompt 'Your new office phone number' $user = $env:USERNAME Set-ADUser -Identity $user -OfficePhone $phoneNumber