Hello,
We are in the middle of a Hybrid Exchange and 0365 setup and I need to update my Dynamic Distribution Groups to include the 0365 Mail Users.
As a test, I created the following filter
Get-Recipient -Filter {(RecipientType -eq "MailUser") -or (RecipientType -eq "UserMailbox") -and (Office -eq 'Mumbai, India')}
However, the results are including ALL MailUsers and not just ones that fall under the "Mumbai, India" Office. Its pulling the UserMailboxes in the Mumbai office just fine.
An I missing something here?
Thank You