Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

up vote 3 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? –  makerofthings7 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.