I want delete the personal contact list in a specific mailbox.
I try this command by the server but it don't understand the command Search-Mailbox.
Search-Mailbox test@test.com identity test SearchQuery kind:contacts DeleteContent
thx a lot.
Technology Tips and News
That is probably because you're not running the cmdlet as a user who is a member of the Discovery Management role. Admins aren't in that role by default.
https://technet.microsoft.com/en-us/library/ff459253(v=exchg.150).aspx (See Mailbox Search sub point)