DeleteContents from mailbox with no confirmation (exchange 2010 and powershell)
-
07-11-2019 - |
Question
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
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow