Friday, February 19, 2010

Using cmdlets how to create Room and Equiment Mailboxes in Exchange 2010

As you know, it is easy to create a user account with a mailbox for rooms and equipment by using the New-Mailbox cmdlet. In this article, we have given the syntax and usage that you need to know.
If you are looking for room, you should use the Room Parameter and for equipment, you should use Equipment parameter. Moreover, the related value is set as $true by default when you use any of the parameters. The main thing to be remembered is, although the account is disabled by default, yet you should enter a secure password when you’re prompted.

New-Mailbox -Name 'DisplayName' -Alias 'ExchangeAlias' -OrganizationalUnit 'OrganizationalUnit' -UserPrincipalName 'LogonName'
-SamAccountName 'prewin2000logon' -FirstName '' -Initials '' -LastName '' -Database 'Server\MailboxDatabase'
[-Room | -Equipment ]

New-Mailbox -Name 'Conference Room 27' -Alias 'room27' -OrganizationalUnit '' -UserPrincipalName ''
-SamAccountName 'room27' -FirstName '' -Initials '' -LastName '' -Database 'Sales Primary' -Room