Saturday, October 26, 2013

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

5 comments:

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

    Thanks.

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  4. Hi Matt,

    If you are already on 2010 than the things that you mentioned are correct otherwise there is a whole migration process that needs to be followed.

    ReplyDelete