Upgrade Distribution Group to Exchange 2010 Version

Hi Readers,

We have found that there are many DL’s in our organization that are still on old versions.

How to find DL versions:-

Log on to exchange 2010 management shell:

$collect = Get-DistributionGroup -ResultSize unlimited | select Name,samaccountname,exchangeversion

$collect | export-csv c:\exportDl.csv

Now you have two options to upgrade

1. upgrade all Lists at ones

Get-DistributionGroup -ResultSize unlimited | Set-DistributionGroup -forceupgrade

2.  Do some of the lists to see how it goes like I have done only 250 to first check

Set-DistributionGroup “DLName”  -forceupgrade

you can use notepad++ & you don’t have to write any script, follow below screen shot.

step1: replace ^(.+)$ with “\1” (Regular expression should be selected at below)

Capture1

step2:

Capture2

step3: After replace it will look like below

Capture3

Now enter these in Shell 🙂

Regards

SUkhija Vikas

Advertisement

5 thoughts on “Upgrade Distribution Group to Exchange 2010 Version

  1. Hi Sukhija,
    Great article. There is a typo in the very first command:
    $collect = Get-DistributionGroup -ResultSize >>unmilited<<

    Thanks.

  2. Hello Vikas.

    Very clarifying post.

    We had this problem same problem on an Exchange 2013 Migration. Since we have no intention of keeping the old Exchange servers,

    What i did was:

    Get-DistributionGroup -ResultSize Unlimited | Set-DistributionGroup -ForceUpgrade

    If you have multiple domains before running the command above, run:
    Set-ADServerSettings -ViewEntireForest $True

  3. Hello,
    Great article, other than Distribution Groups, Mail Contacts, Email Address Policies, and Address Lists what other Exchange 2010 items need upgrading?
    Thank you,
    Matt

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s