Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 4 down vote accepted

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}
share|improve this answer
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? – LamonteCristo 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

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"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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