Filtering mailbox by specific domain name and removing them RRS feed

  • Question

  • Hi

    i need to search for all mailboxes having a specific smtp address and remove only the specific address.

    i used the following command to get hold of the mailboxes in question but i do not know how to remove the smtp addresses without deleting the mailbox. Can someone please help on this ? Thanks

    get-mailbox -Filter {EmailAddress -notlike '*"}

    Thursday, April 5, 2018 1:37 PM

All replies