I'm looking for some help with automating our disable script. I have a script that disables a group of accounts and moves them into a disabled accounts OU based on their samid. I just put all the IDs in a text file and run the script. Part of our process
when we disable users is to remove them from all distribution groups and forward their email to a particular user. Is there a way I can automate the forward of their mail and remove them from distribution groups only (not security or other groups). The user
could be a member of any number of distribution groups so I'd need a way to query for them.
↧