Remove all contacts from a single domain

Hello, I need to remove all contacts from a especified domain @domain.com from all users mailbox, but keeping the other contacts on their lists..

Is there any way to to that ? GPO ?

Thanks

July 15th, 2015 12:16pm

This url should help you :-

https://social.technet.microsoft.com/Forums/windows/en-US/effa91a7-4501-47fa-8874-bacdff6b375b/deleting-or-purging-a-specific-contacts-folder-for-all-existing-users

Free Windows Admin Tool Kit Click here and download it now
July 15th, 2015 3:05pm

Hi,

I search around, we can only use search-mailbox cmdlet to search all contacts from all users mailbox, but we cannot search contacts with a specified domain.

Command like this:

Get-Mailbox | Search-mailbox -searchquery 'kind:contacts' DeleteContent

Best Regards.

July 16th, 2015 4:39am

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

Other recent topics Other recent topics