Exchange 2010远程Powershell - 与Active Directory添加用户的新邮件集成
问题描述:
我正在努力解决如何使用Exchange 2010远程Powershell&New-Mail cmdlet创建新的Exchange邮箱,并将用户分配给特定的OragizationUnit(即OU)。 可以这样做吗? 如果是这样的话?
I am struggling with how to create a new Exchange Mailbox, using the Exchange 2010 Remote Powershell New-Mail cmdlet and assign the user to a specific OragizationUnit (ie. OU). Can this be done? If so how?
答
New-Mailbox cmdet有一个OrganizationalUnit参数。该cmdlet将创建AD用户帐户并启用它的邮箱。如果已创建用户,请使用Enable-Mailbox cmdlet为该帐户启用邮箱。
The New-Mailbox cmdet has an OrganizationalUnit parameter. That cmdlet will create the AD user account and mailbox enable it. If the user has already been created, use the Enable-Mailbox cmdlet to mailbox enable the account.