help to modify an script and change to powershell
Posted on 2013-11-07
I need your help you to convert an script that was written using AD quest shell commands to a power shell script.
This script was written a while back and the intent is to dynamic update the a distribution list name “Self-Service” with users in xxx domain that have extensionAttribute1 set to “Employee” or “Contractor”
Basically before running the script, I verified that John Doe account is not a member of the Self-Service DL. When script is ran and completed, John Doe account is still not added to the DL Self-Service.
Self-service is a universal security group that exist in my domain