Quantcast
Channel: Fórum Exchange Server
Viewing all articles
Browse latest Browse all 11117

求教脚本问题

$
0
0
exchange2007
想用计划任务运行一条命令,在3个月后删除一个邮箱。命令如下:
c:\windows\system32\windowspowershell\v1.0\powershell.exe -psconsoleFile "c:\program Files\Microsoft\Exchange Server\bin\exshell.psc1" -command "& {remove-mailbox -indentity xxx.x}
但是运行后要我确认删除,很是郁闷,求高手赐教如何静默删除,或给出解决方案。

研究了一天后发现可能是用-confirm 但后面怎么跟参数啊。。。。

Viewing all articles
Browse latest Browse all 11117

Trending Articles