The following list presents cmdlets that can be used to create and
modify user objects. We explain some key parameters of some of these cmdlets.
??‘ New-Mailbox
??‘ Set-Mailbox
??‘ Connect-Mailbox
??‘ Move-Mailbox
??‘ Enable-Mailbox
??‘ Disable-Mailbox
Part I: PowerShell for Exchange Fundamentals
106
??‘ Remove-Mailbox
??‘ New-Contact
??‘ New-MailContact
??‘ Set-CASMailbox
??‘ Export-Mailbox
??‘ Import-Mailbox
New - Mailbox
This cmdlet creates a new user object in Active Directory and mailbox - enables the user. There are several
switch parameters associated with this cmdlet as well as required parameters. The list of parameters is
shown next. For a detailed list run the following in the Exchange Management Shell: get-help
New-Mailbox -detailed .
Some key parameters to note include:
??‘ Database < DatabaseIdParameter > : This is a required parameter and specifies the database
to host the new mailbox. It can take several formats such as GUID of database, database name,
or server name\database name.
??‘ Equipment < SwitchParameter > : This switch parameter indicates that a resource mailbox of
type Equipment is to be created. It is a required parameter if creating an equipment resource
mailbox.
??‘ LinkedDomainController < String > : A required parameter when creating a linked mailbox.
Pages:
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190