积极答复者
创建mailbox问题,exchange2013

问题
答案
-
你好,
你是指目前只有AD账户,需要批量启用邮箱,是吗?
如果理解正确的话,可以按照下面的步骤来批量启用邮箱:
1. 假设所有需要启用邮箱的AD账户都在创建在一个OU(名为NewUser)中,我们可以先通过指令找到这批用户:
get-user –OrganizationalUnit NewUser | where-object{$_.RecipientType –eq “User”}
2.找到这批用户后,就可以使用enable-mailbox指令来批量启用邮箱:
get-user –OrganizationalUnit NewUser | where-object{$_.RecipientType –eq “User”} |enable-mailbox -database DBName
谢谢!
Niko Cheng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Niko.ChengModerator 2016年10月24日 4:40
- 已标记为答案 Salavie 2016年10月26日 9:57
全部回复
-
你好,
你是指目前只有AD账户,需要批量启用邮箱,是吗?
如果理解正确的话,可以按照下面的步骤来批量启用邮箱:
1. 假设所有需要启用邮箱的AD账户都在创建在一个OU(名为NewUser)中,我们可以先通过指令找到这批用户:
get-user –OrganizationalUnit NewUser | where-object{$_.RecipientType –eq “User”}
2.找到这批用户后,就可以使用enable-mailbox指令来批量启用邮箱:
get-user –OrganizationalUnit NewUser | where-object{$_.RecipientType –eq “User”} |enable-mailbox -database DBName
谢谢!
Niko Cheng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Niko.ChengModerator 2016年10月24日 4:40
- 已标记为答案 Salavie 2016年10月26日 9:57
-
你好,
如果我的回复帮助你解决了问题,请将其标记为答复,这样有助于其他论坛成员更方便的搜寻答案,感谢理解!
谢谢!
Niko Cheng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.