【exchange】2010 批量删除邮箱内容

#Windows bat command
#启动exchange shell start C:WindowsSystem32WindowsPowerShellv1.
0powershell.exe -noexit -command ". 'C:Program FilesMicrosoftExchange ServerV14inRemoteExchange.ps1'; Connect-ExchangeServer -auto"
#获取账户并删除 get
-mailbox -identity [匹配用户的表达式] | export-mailbox -deletecontent
原文地址:https://www.cnblogs.com/suzy/p/12837272.html