Sometimes managing groups in Active Directory becomes tedious and even overwhelming. Sure, you can add a user to multiple groups using Active Directory Users and Computers (ADUC) and in cases where group management doesn’t happen often, this might be the way to go, but Quest Software has a set of PowerShell Commandlets that can make this task very easy to automate.
Get-QADComputer Retrieve computer objects that match specified conditions.
Connect-QADService Connect to AD domain controller (or AD LDS)
Disconnect-QADService Disconnect from an AD domain controller
Get-QADGroup Retrieve groups that match specific conditions
Set-QADGroup Modify attributes of group(s)
The two most important (most famous) :
Here is the command to add a snapin :
A really easy way to add all installed snapins :Read more