你好,
请尝试下面的方法:
1. 将需要启用存档邮箱的用户名单列存储在txt文件中,例如:c:\user.txt
2. 然后执行下面的指令:
$Users=get-content "c:\user.txt"
foreach($i in $users){Enable-Mailbox -Identity $i -Archive ; Sleep -s 1}
谢谢!
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Niko Cheng
TechNet Community Support
