PowerShell - Delete contact list in specific mailbox

hello,

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.






August 6th, 2015 10:38am

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)

  • Marked as answer by Bartoch 16 hours 34 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2015 10:42am

Perfect thx a lot
August 6th, 2015 10:57am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics