Hi I'm hoping someone could give us a hand with a powershell script.
We are trying to change the Primary SMTP address on all distribution groups to the secondary address.
We've turn off the flag for emailaddresspolicyenabled so this shouldn't be a problem.
Were able to list the SMTP addresses but not sure how to change. Any help would be greatly appreciated Get-DistributionGroup -Identity "Exch Test" | list Emailaddresses
Thanks,