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
April 28th, 2012 2:37pm
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."
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2012 3: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:
April 29th, 2012 1:00am
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."
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2012 2:07am
Hi Bennett J.Davis.......
Thanks a ton for replying
April 29th, 2012 4:17am
Hi Ed Crowley.......
Thanks a ton for replying
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2012 4:18am