DeleteContentsfrommailboxwithnoconfirmation(exchange2010andpowershell)我使用以下命令删除邮箱的内容,但它仍然提示我确认。有没有办法不提示我。1Search-Mailbox-id"UserName"-DeleteContent-Confirm:$false停止提示的方法是使用-Force参数(如果cmdlet支持的话)。将-confirm设置为$false仅表示"如果需要,请提示我。"将-confirm设置为$true表示"每次都提示我。"简单的事情就是通过/Library/Mail/v2/MailData并删除带有名称的文件