Dear all,
I have several GALs in my Exchange 2010 environment and I would like to update the recipient filter so that its also shows 'Mail Users' I have written the output from the Get-GlobalAddressList below:
((((Company -eq 'Bar PeopleA) -or (Company -eq 'Bar PeopleB'))) -and (RecipientType -eq 'UserMailbox'))
However I would now like this GAL list to also show Mail Users and not just User Mailbox users, so I have written the following command:
Update-GlobalAddressList -Identity GAL_TEST -RecipientFilter ((((Company -eq 'Bar PeopleA') -or (Company -eq 'Bar PeopleB'))) -and (RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailUser'))
Can someone please tell me if this is right as it did not seem to work when I tried it?