2. Creating Room and Equipment Mailboxes
You can create room and equipment mailboxes by completing the following steps:
-
In the Exchange Management Console, expand the Recipient Configuration node and then select the Mailbox node.
Note
If you want to create the user account for the room or equipment
mailbox in a domain other than the current one, you first need to set
the scope for the Mailbox node.
-
Right-click the Mailbox node, and then select New Mailbox. This starts the New Mailbox Wizard. -
On the Introduction page, select either Room Mailbox or Equipment Mailbox, as appropriate, and then click Next. -
On the User Type page, verify that New User is selected and then
click Next. Each room or piece of equipment must have a separate user
account. This is necessary to track the unique free/busy data for the
room or piece of equipment. -
On the User Information page, the Organizational Unit text box shows
where in Active Directory the user account will be created. By default,
this is the Users container in the current domain. Because you'll
usually need to create room
and equipment accounts in a specific organizational unit rather than in
the Users container, select the Specify The Organizational Unit check
box and then click Browse. Use the Select Organizational Unit dialog
box to choose the location in which to store the account, and then
click OK. -
Type a descriptive display name in the Name text box. -
In the User Logon Name text box, type the logon name. Use the
drop-down list to select the domain with which the account is to be
associated. This sets the fully qualified logon name. -
The first 20 characters of the logon name are used to set the
pre–Microsoft Windows 2000 logon name, which must be unique in the
domain. If necessary, change the pre–Windows 2000 logon name. -
Type and then confirm the password for the account. Even though the
account is disabled by default, this password must follow the
conventions of your organization's password policy. -
Click Next. On the Mailbox Settings page, enter an Exchange alias. The Exchange alias is used to set the default e-mail address. -
If you want to specify a mailbox database rather than use an
automatically selected one, select the Specify Mailbox Database check
box, and then click the Browse button to the right of the Mailbox
Database text box. In the Select Mailbox Database dialog box, choose
the mailbox database in which the mailbox should be stored. Mailbox
databases are listed by name as well as by associated server. -
If you want to create an archive mailbox for the resource, select
the related check box. Items in the mailbox will be moved automatically
to the archive mailbox based on the default retention policy. -
Click Next, and then click New to create the account and the related
mailbox. If an error occurs during account or mailbox creation, neither
the account nor the related mailbox will be created. You need to
correct the problem and repeat this procedure. -
Click Finish. For all mailbox-enabled accounts, a Simple Mail
Transfer Protocol (SMTP) e-mail address is configured automatically.
In the Exchange Management Shell, you can create a user account with a mailbox for rooms and equipment by using the New-Mailbox cmdlet. Example 1
provides the syntax and usage. Although the account is disabled by
default, you must enter a secure password for the account when prompted.
Note
For rooms, you must use the –Room parameter. For equipment, you must
use the –Equipment parameter. By default, when you use either
parameter, the related value is set as $true.
Example 1. Creating room and equipment mailboxes
Syntax
New-Mailbox -Name 'DisplayName' -Alias 'ExchangeAlias' -OrganizationalUnit 'OrganizationalUnit' -UserPrincipalName 'LogonName' -SamAccountName 'prewin2000logon' -FirstName '' -Initials '' -LastName '' -Database 'Server\MailboxDatabase' [-Room <$false|$true> | -Equipment <$false|$true> ]
Usage
New-Mailbox -Name 'Conference Room 27' -Alias 'room27' -OrganizationalUnit 'cpandl.com/Sales' -UserPrincipalName '[email protected]' -SamAccountName 'room27' -FirstName '' -Initials '' -LastName '' -Database 'Sales Primary' -Room
3. Creating Linked Mailboxes
A linked mailbox is a mailbox that is accessed by a user in a separate, trusted forest. Typically, you use linked
mailboxes when your organization's mailbox servers are in a separate
resource forest and you want to ensure that users can access free/busy
data across these forests.
All linked mailboxes have two user account associations:
-
A unique user account in the same forest as the Mailbox server. The
same forest user account is disabled automatically so that it cannot be
used for logon. -
A unique user account in a separate forest for which you are
creating a link. The separate forest user account is enabled so that it
can be used for logon.
You can create a linked mailbox by completing the following steps:
-
In the Exchange Management Console, expand the Recipient Configuration node and then select the Mailbox node. -
Right-click the Mailbox node, and then select New Mailbox. This starts the New Mailbox Wizard. -
On the Introduction page, select Linked Mailbox and then click Next. -
On the User Type page, verify that New User is selected and then click Next. -
On the User Information page, the Organizational Unit text box shows
where in Active Directory the user account will be created. By default,
this is the Users container in the current domain. Select the Specify
The Organizational Unit check box and then click Browse to create the
new user account in a different container. Use the Select
Organizational Unit dialog box to choose the location in which to store
the account, and then click OK. -
Type the user's first name, middle initial, and last name in the
text boxes provided. These values are used to create the Name entry,
which is the user's display name. -
In the User Logon Name text box, type the user's logon name. Use the
drop-down list to select the domain with which the account is to be
associated. This sets the fully qualified logon name. -
The first 20 characters of the logon name are used to set the
pre–Windows 2000 logon name, which must be unique in the domain. If
necessary, change the pre–Windows 2000 logon name. -
Type and then confirm the password for the account. Although the
account will not be used for logon, this password must follow the
conventions of your organization's password policy. -
Click Next. Enter an Exchange alias for the user. Make sure the alias matches the one used in the resource forest. -
If you want to specify a mailbox database rather than use an
automatically selected on, select the Specify Mailbox Database check
box, and then click the Browse button to the right of the Mailbox
Database text box. In the Select Mailbox Database dialog box, choose
the mailbox database in which the mailbox should be stored. Mailbox
databases are listed by name as well as by associated server. -
Click Next. On the Master Account page, click Browse to the right of
the Linked Forest text box. In the Select Trusted Forest Or Domain
dialog box, select the linked forest or domain in which the user's
original account is located and then click OK. -
If you need additional administrative permissions to access the
linked forest, select the Use The Following Windows Account check box.
Then type the user name and password for an administrator account in
this forest. -
Click the Browse button to the right of the Linked Domain Controller
text box. In the Select Domain Controller dialog box, select a domain
controller in the linked forest and then click OK. -
Click the Browse button to the right of the Linked Master Account
text box. Use the options in the Select User dialog box to select the
original user account in the linked forest, and then click OK. -
Click Next, and then click New to create the account and the related
mailbox. If an error occurs during account or mailbox creation, neither
the account nor the related mailbox will be created. You will need to
correct the problem and repeat this procedure. -
Click Finish. For all mailbox-enabled accounts, an SMTP e-mail address is configured automatically.
In the Exchange Management Shell, you can create a user account with a linked mailbox by using the New-Mailbox cmdlet. Example 2
provides the syntax and usage. You'll be prompted for two sets of
credentials: one for the new user account and one for an administrator
account in the linked forest.
Example 2. Creating linked mailboxes
Syntax
New-Mailbox -Name 'DisplayName' -Alias 'ExchangeAlias' -OrganizationalUnit 'OrganizationalUnit' -Database 'Database' -UserPrincipalName 'LogonName' -SamAccountName 'prewin2000logon' -FirstName 'FirstName' -Initials 'Initial' -LastName 'LastName' -ResetPasswordOnNextLogon State -LinkedDomainController 'LinkedDC' -LinkedMasterAccount 'domain\user' -LinkedCredential:(Get-Credential 'domain\administrator' )
Usage
New-Mailbox -Name 'Wendy Richardson' -Alias 'wendyr' -OrganizationalUnit 'cpandl.com/Sales' -Database 'Corporate Services Primary' -UserPrincipalName '[email protected]' -SamAccountName 'wendyr' -FirstName 'Wendy' -Initials '' -LastName 'Richardson' -ResetPasswordOnNextLogon $true -LinkedDomainController 'CohoDC58' -LinkedMasterAccount 'coho\wrichardson' -LinkedCredential:(Get-Credential 'coho\williams' )
|