AD user script
Posted on 2013-01-27
I would like a script that will do the following for a user or users based on excel or text file which ever is easier to script. It does not have to be in the order below.
-Change password to XXXXX (password will always be the same)
-Add a group membership & set as primary (group will always be the same)
-Remove all other groups except the primary from above step
-Copy Manger info to Notes field under telephone tab
-Remove Manager name
-Remove fax & mobile & ip phone numbers from telephone tab (all fields may not have data)
-Remove telephone from general tab
-Move account to a different OU (This will vary)
Thanks all for your hard work. If you have any suggestions, I am open to it.