Script to rename Distribution list, change email address/add address, rename it all spots?

rated by 0 users
This post has 1 Reply | 1 Follower

Top 25 Contributor
Posts 115
JakeS Posted: 05-07-2012 11:14 AM

Hi,

I'm trying to write a script that will rename a distribution list where I specify the existing name and the new name, then the script changes the name in the right places in AD, then also change the email address to the new "display name", which is what the email address is now, and then also update the description of the DL to something I can specify when running the command/script.

Top 10 Contributor
Posts 640

Well, Rename-ADObject and Set-ADObject should do both of those, if you have at least one DC (2003 or later) running the AD Management Gateway. But you might consider posting this on the Exchange forum here - it's more Exch-specific.

Page 1 of 1 (2 items) | RSS
Copyright 2012 PowerShell.com. All rights reserved.