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 unmilited | 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

About these ads
This entry was posted in Exchange, Scripting and tagged , , , . Bookmark the permalink.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s