Tag «powershell»

Copying Group Membership in Active Directory with Powershell

I had a requirement to configure a bunch of user accounts identically with regards to group membership. I wrote a small powershell script so that a single account could be configured and then all group memberships copied from that group account. Below is the script I used: 1234Import-Module ActiveDirectory $sourceUser = "" $destUser = "" …