Thursday, November 14, 2013

Copy Group Membership–PowerShell Script

This PowerShell script can be used to copy group membership from one group to another.   I am using Get-ADGroupMember and Add-ADGroupMember cmdlets in this script.  So you need to import Active Directory PowerShell module

The input file (GroupInput.csv) contains source and target group names in the following format:

clip_image002

You can download the script from the following location:

image

0 comments:

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More