4

How do I use powershell to update the Exchange GAL with "Business Phone" and Location? I don't see them in "get-mailbox"

enter image description here

4

actually my own previous post wouldn't have worked. this works (and doesn't require 3rd party products):

$user = get-aduser jdoe
Set-ADObject $user -Replace @{telephoneNumber=12345}
2
  • I get the error 'get-adobject' is not recognized as the name of a cmdlet .. I think I need to load a runspace. Do you know what that is? Feb 10 '12 at 19:26
  • yes, you need to install AD RSAT tools. and be sure to include the Powershell cmdlets. First you download RSAT from the web, then you have to turn on those Features in Add Windows Features. THEN open powershell and run import-module active*. hope that helps
    – Jordan W.
    Feb 10 '12 at 21:11
0

A room mailbox has an associated user that sets these properties. Using the Quest AD cmdlets, available here, you could run the following -

Set-QADUser -Identity $RoomMailboxUser -Office "Location here" -PhoneNumber "Phone number here"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.