Remote Support Software

Provide instant remote support to customers and employees:

Click here for a free trial

New-mailbox creation in exchange 2010 using power shell

Hi,
I tested this & I believe this is because of the parameter 'Phone' is not working as expected in 'New-Mailbox' cmdlet. Try the same cmdlet without -Phone parameter & that should work.
Then you may run Set-Mailbox cmdlet with -Phone to append the Ph#.
-------------------------------------------------------------
Mark this as Answer if it answers your question.
-------------------------------------------------------------Thank You! Bennett J.Davis

Need to support users over the internet? click here try our remote control online beta






April 28th, 2012 11:37am
Actually, it is working as expected. Note in the documentation:

http://technet.microsoft.com/en-us/library/aa997663.aspx

the Phone parameter is supported only with the Room parameter. Further, if you look at the Set-Mailbox cmdlet documentation, you will see that the Phone property is not supported.

http://technet.microsoft.com/en-us/library/bb123981.aspx

Use Set-User to apply the phone number.

http://technet.microsoft.com/en-us/library/aa998221.aspxEd
Crowley MVP "There are seldom good technological solutions to behavioral problems."

There is an amazing pack of free network admin tools. click here to download it






April 28th, 2012 12:17pm
Hi IT folks,
Hope all are doing wellllllll........

While creating new mailbox using shell below cmdlet, asking parameters room : ( check below content)

New-Mailbox -Name xxxxxxxxx -Database xxxxxxxxxx -UserPrincipalName "xxxxxxxxxxxxx" -Alias "xxxxxxxxxxxxx " -DisplayName xxxxxxxxxx -FirstName xxxxxxxxx -LastName xxxxxxxxxx -OrganizationalUnit xxxxxxxxxxxxxxx Phone " xxxxxxxxxxxxx


Error :
cmdlet New-Mailbox at command pipeline position 1
Supply values for the following parameters:
Room:

Need to support users over the internet? click here try our remote control online beta






April 28th, 2012 10:00pm
I don't think you're giving us the complete cmdlet the way you're using it.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

Need to support users over the internet? click here try our remote control online beta






April 28th, 2012 11:07pm
Hi Bennett J.Davis.......
Thanks a ton for replying

Need to support users over the internet? click here try our remote control online beta






April 29th, 2012 1:17am
Hi Ed Crowley.......
Thanks a ton for replying

Need to support users over the internet? click here try our remote control online beta






April 29th, 2012 1:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics