Try our new Certificate Revocation List Check Tool
CRLcheck.exe is a tool developed to verify digital signatures of executable files. It collects files from known paths on your client, checks their signature, and checks Certificate Revocation Lists (CRL) and OCSP download. This helps avoid delays in launching files.
Category published:  Exchange 2007 Exchange 2010 Microsoft Exchange   Click on the Category button to get more articles regarding that product.

Exchange 2003 / 2007 /2010 Migration Convert Adresslists

Posted by admin on 07.12.2011

Exchange 2003 / 2007 Migration Convert Adresslists in Powershell
Do this at the end when all mailboxes are moved to 2007/2010, your public Folders are migrated and your are planing to finish the migration.
 
Default E-Mail Address Policy:
Set-EmailAddressPolicy “Default Policy” -IncludedRecipients AllRecipients -ForceUpgrade
.
Default Address Lists ENGLISH:
.
Set-AddressList “All Contacts” -IncludedRecipients MailContacts -ForceUpgrade
Set-AddressList “All Groups” -IncludedRecipients MailGroups -ForceUpgrade
Set-AddressList “All Users” -IncludedRecipients MailboxUsers -ForceUpgrade
set-addresslist “Public Folders” -recipientfilter { recipienttype -eq “PublicFolder” }
.
Default Address Lists DEUTSCH:
.
Set-AddressList “Alle Kontakte” -IncludedRecipients MailContacts -ForceUpgrade
Set-AddressList “Alle Benutzer” -IncludedRecipients MailBoxUsers -ForceUpgrade
Set-AddressList “Alle Gruppen”  -IncludedRecipients MailGroups -ForceUpgrade
set-addresslist “Öffentliche Ordner” -recipientfilter { recipienttype -eq “PublicFolder” }

.
ENGLISH
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’))} -ForceUpgrade
.
DEUTSCH
.
Set-GlobalAddressList “Globale Standardadressliste” -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’))} -ForceUpgrade
.
.
Set-AddressList “Public Folders” -RecipientFilter { RecipientType -eq ‘PublicFolder’ } -ForceUpgrade
.
Check all Versions after Migration/Conversion:
Get-AddressList | select name, exchangeversion
———————–
Name                                                        ExchangeVersion
—-                                                        —————
All Contacts                                                0.1 (8.0.535.0)
All Groups                                                  0.1 (8.0.535.0)
All Users                                                   0.1 (8.0.535.0)
Public Folders                                              0.1 (8.0.535.0)
Alle Benutzer                                               0.1 (8.0.535.0)
Alle Gruppen                                                0.1 (8.0.535.0)
Öffentliche Ordner                                          0.1 (8.0.535.0)
Alle Kontakte                                               0.1 (8.0.535.0)
All Rooms                                                   0.1 (8.0.535.0)
————————–
This should show up the correct version 8.0.535.0 as example for Exchange 2010 Sp3
DEUTSCH / ENGLISCH
.
Auslesen der “MailNonUniversalGROUP” Verteiler. Diese sollten ab 2003 auf UNIVERSAL konvertiert werden.
.
get-Group | Where {$_.GroupType -Like “Global*” -AND $_.RecipientType -eq “MailNonUniversalGroup”}
get-Group | Where {$_.GroupType -Like “Global*” -AND $_.RecipientType -eq “MailNonUniversalGroup”} > Alle_bestehenden_Mailuniversalgruppen.txt
.
Konvertieren:
.
get-Group | Where {$_.GroupType -Like “Global*” -AND $_.RecipientType -eq “MailNonUniversalGroup”} | Set-Group -universal
.
.
Konvterieren 2003 > 2007 OPTAH (Wie LDAP)
.
Please also check OPTAH and certains cript if you have complicated “NON CONFORM” Addresslists.
.
Use ConvertFrom-LdapFilter.ps1 from Microsoft
.
To run the “code” wtihout signing it you may have to disable the Code Signung Security for Powershell. Please if your are in a large Enterprise ask the people who control it.
.
Set-ExecutionPolicy Unrestricted
Get-AddressList | WHERE { $_.RecipientFilterType -eq ‘Legacy’ } | foreach { Set-AddressList $_.Name -RecipientFilter (.\ConvertFrom-LdapFilter $_.LdapRecipientFilter) -ForceUpgrade }
Get-GlobalAddressList | WHERE { $_.RecipientFilterType -eq ‘Legacy’ } | foreach { Set-GlobalAddressList $_.Name -RecipientFilter (.\ConvertFrom-LdapFilter $_.LdapRecipientFilter) -ForceUpgrade }
.
Get-EmailAddressPolicy | WHERE { $_.RecipientFilterType -eq ‘Legacy’ } | foreach { Set-EmailAddressPolicy $_.Name -RecipientFilter (.\ConvertFrom-LdapFilter $_.LdapRecipientFilter) -ForceUpgrade }
Get-EmailAddressPolicy | where {$_.RecipientFilterType –eq “Legacy”} | Set-EmailAddressPolicy –IncludedRecipients AllRecipients
Distributiongroups Conversion
Get-DistributionGroup | fl
Get-DistributionGroup | Set-DistributionGroup

 Category published:  Exchange 2007 Exchange 2010 Microsoft Exchange   Click on the Category button to get more articles regarding that product.