segunda-feira, 30 de novembro de 2009

Address List and EAP filter upgrades with Exchange Server 2007

Remember that there might be more "custom" lists to upgrade as well.

Use Get-EmailAddressPolicy Format-List Name,*RecipientFilter*,ExchangeVersion to check.

Use

Get-AddressList Format-List Name,*RecipientFilter*,ExchangeVersion

Get-GlobalAddressList Format-List Name,*RecipientFilter*,ExchangeVersion


To upgrade:

Set-EmailAddressPolicy "Default Policy" -IncludedRecipients AllRecipients

Set-AddressList "All Users" -IncludedRecipients MailboxUsers

Set-AddressList "All Groups" -IncludedRecipients MailGroups

Set-AddressList "All Contacts" -IncludedRecipients MailContacts

Set-AddressList "Public Folders" -RecipientFilter { RecipientType -eq 'PublicFolder' }

Set-GlobalAddressList "Default Global Address List" -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))}


Thanks to http://msexchangeteam.com/archive/2007/01/11/432158.aspx

Sem comentários:

Enviar um comentário