You can use –AND / –OR logical expression in filter switch to find more specific recipients in Powershell.

Get-Recipient -Filter “EmailAddresses -like ‘*@DomainA.com’ -And RecipientType -eq ‘UserMailbox’”

Bonus Tip: You can use get-help –example to find sample usages of a command.

E.g. : get-help Get-Mailbox -example

-Thanks, Jinesh.

Advertisements