Created
September 18, 2020 17:14
-
-
Save seanosullivanuk/3b970b74f798ddc0a01b83ba65dd194b to your computer and use it in GitHub Desktop.
Filter out any mailbox that has IMAP or POP enabled, with Exchange Online
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-CASMailbox -Filter {ImapEnabled -eq "True" -or PopEnabled -eq "True"} | Select-Object @{n = "identity"; e = {$_.primarysmtpaddress}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment