Clear an Email domain from mailboxes

This script pulls all email addresses with a set domain name from all applicable mailboxes in an Exchange Server environment. Fairly simple. Pulled from my blog. Works on Exchange 2007+ and O365. Hybrid mailbox capabilities are not fully tested. Let me know if it doesn't work.

3 Star
1,180 times
Add to favorites
E-mail Twitter Digg Facebook
  • abrown error
    3 Posts | Last post March 03, 2020
    • thanks for the script! you forgot to remove "abrown1" from the script: $users = get-mailbox abrown1
    • Whoops! Thanks for letting me know. Will fix that for the next version. 
    • This error has been fixed in the script. Also added some more features.