How to change Phone Numbers in Exchange 2007
Hi all,
we've got a new telephone number in our company and I have to change all phone numbers in the active directory orglobal address book in exchange. For example: All phone numbers must be changedfrom12345-xxxxto 3423123-xxxx, where xxxx is the users extension.
Please help!
January 19th, 2007 5:44pm
Hi,The following Exchange Management Shell code should give you an idea of how to approach this. It worked for me on limited testing.foreach ($user in $(get-user | where-object {$_.RecipientType -eq "UserMailbox"})){set-user -Identity $user.Identity -Phone $($user.Phone -replace "12345", "54321")}I hope that helps.
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2007 1:59am