标签:c99 shell 脚本 自动 shadow nal exchange log tail blog
PS C:\Users\administrator.51TALK> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
PS C:\Users\administrator.51TALK> Get-ExecutionPolicy
RemoteSigned
Add-PSSnapin microsoft.exchange*
Import-Module activedirectory
Get-User -OrganizationalUnit "北京" -RecipientTypeDetails user | enable-mailbox -database bjstaff
3. 创建任务计划
![](http://i2.51cto.com/images/blog/201807/11/dc840fc2ea7cbc1ecbe4fccc998210c1.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
标签:c99 shell 脚本 自动 shadow nal exchange log tail blog
原文地址:http://blog.51cto.com/magic3/2140488