We are running Exchange 2007 I need to exclude distribution groups in our sub domain from the GAL without hiding them. I have a Recipient Filter that updates that successfully only it fails to exclude the groups.
{(Alias -ne $null -and (RecipientContainer -ne 'OU=SDG,DC=subdomain,DC=ad,DC=domain,DC=tld' -and (ObjectClass -eq 'user' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group')))}