E14–Update-AddressList



http://technet.microsoft.com/library/bb738157(EXCHG.80).aspx
http://technet.microsoft.com/zh-TW/library/aa998847(v=exchg.80).aspx
http://technet.microsoft.com/zh-TW/library/bb430771(v=exchg.80).aspx
http://technet.microsoft.com/en-us/library/dd335105(v=exchg.141).aspx


[PS] C:\>Get-AddressList -Identity bqat | Set-AddressList -RecipientFilter {(HiddenFromAddressListsEnabled -ne '$True')
-and (Alias -ne '$null') -and (((ObjectClass -eq 'user') -and (Office -like 'BQat*'))  -or ((ObjectClass -eq 'group') -a
nd (CustomAttribute1 -eq 'BQat'))) } -ForceUpgrade


[PS] C:\>Set-AddressList -Identity MSFT -RecipientFilter "(  ((HiddenFromAddressListsEnabled -ne '$True') -and (Alias -like '*')) -and ( ((ObjectClass -eq 'User') -and (company -eq 'MSFT')) -or ((ObjectClass -eq 'Group') -and (CustomAttribute1 -eq 'MSFT' )  ) ) ) "



Comments

Popular posts from this blog

E15 CU3–Update Failed–AD replicated Exceeded the tombstone lifetime.

202301 - Exchange onpreme - PowerShell Serialization Payload Signing

E14–Bulk Create Mail Contact & Set-Contact