I work for a company where we have users who travel quite a bit, and while traveling or on vacation will request of me to remove them from some Exchange Distribution lists. This is all fine and dandy, but is a pain to do manually, since most of them want the changes made at weird off hour times. I would like to work with smoeone who knows VB and or WSH who would be willing to help construct a script that can automate the process. On one hand I was thinking something that would have a gui popup asking for the user name you want to add or remote, and then another screen that would display a list of Exchange Distribution Lists you could pick, preferably have the option to select multiple DLs. Then confirm the action to add or remove. Then on the other hand, it would be nice to have something that could be done from the command line, so it can be automated and scheduled.

I guess the best option would be something that could work from a command line. I would immaging I'd be looking for something with the following input format:

To add:
dlmanage add username dlname

To remove:
dlmanage remove username dlname

(dlmanage is just a made up name, could be whatever)

So I don't know enough about VB to accomplish this on my own. I need some help and can be the beta tester to help develop a working script. We'd need a good way to input DL names, as these can be long and contain spaces, so maybe some exchange attribute that has no spaces like the group name (pre-windows 2000 name), or maybe the smtp e-mail addtress of the group?

What I am trying to accomplish here is to have a way to automate and possibly schedule distribution list management. So if a user goes on vacation I an schedule the script to remove the user from a list of Distribution lists by setting up a batch file to execute the script for each DL to remove the user from. Same thing for re-adding them, putting them back on a list of DLs.

If anyone wants to contribute and help develop this, I'm sure it would come in handy for a lot of sysadmins, and perhaps even develop into its own tool...