??‘ EndDate < > : This parameter specifies the end date for filtering content that will be imported to
the target mailbox. Only items in the .pst file whose date is prior to or the same as the end date
will be imported. When you enter a specific date, use the short date format that is defined in
the Regional Options settings that are configured on the local computer. For example, if your
computer is configured to use the short date format mm/dd/yyyy, enter 03/01/2006 to specify
March 1, 2006.
Creating a User Mailbox
The New-Mailbox cmdlet is used to create a new user mailbox. This creates a new user account in Active
Directory and a new mailbox on a mailbox database on Exchange Server 2007. The mailbox is enabled
and ready to send and receive email messages. The New-Mailbox cmdlet discussed earlier can also be
used to mailbox - enable an existing user account in Active Directory. The account used for setting up the
Part I: PowerShell for Exchange Fundamentals
114
new mailbox must be granted the Exchange Recipient Administrator role and Account Operator role for
the Active Directory container the user will be created in. Each Active Directory domain a user mailbox
will be created in must be prepared for Exchange Server 2007 using the setup.com /prepareDomain
switch.
Run the following from the Exchange Management Shell to create a new user mailbox:
New-mailbox -UserPrincipalName mstest1@exchangeexchange.
Pages:
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206