I use the following command to delete the contents of a mailbox, but it still prompts me to confirm. Is there a way to not prompt me.

Search-Mailbox -id "UserName" -DeleteContent -Confirm:$false

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top