Created
October 24, 2013 06:38
-
-
Save janikvonrotz/7132336 to your computer and use it in GitHub Desktop.
PowerShell: PowerShell Manage Group Membership
#PowerShell
#ActiveDirectory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-ADGroupmember "" | %{Add-ADGroupMember -Identity "" -Members $_} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-ADPrincipalGroupMembership "" | %{Add-ADGroupMember -Identity $_ -Members ""} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment