I am trying to permanently delete the contents in just one user's folder. The path is similar to Inbox/projects/projectname. I was looking at syntax for -DeleteContent & that looks like it *might* do it, but I am not sure of the exact syntax to use in powershell for that.
Search-Mailbox -Identity "User Name" -TargetFolder "Inbox\projects\projectname" -LogLevel Full -DeleteContent
Would such a command work, if not what would be the correct syntax. Is there a command I can run that will list the contents of said folder before I permanently delete it?
Thanks!
http://abeNd.org