This script can be very useful to cleanup data when the user account no longer exists in the Active Directory. Actually, this script moves only the folders linked to a deleted active directory user account (profiles, homes,…) to a temporary
Copy the group members to another group
This script copy the group members to another group. You have the choice between Microsoft Active Directory cmdlet or the Quest Active Directory cmdlet. Script (with Microsoft Active Directory module loaded : import-module activedirectory) : $Source_Group = “CN=SourceGroupName,OU=Groups,DC=domain,DC=com” $Destination_Group =