PowerTip: Create an Active Directory Group with PowerShell
Summary: Use Windows PowerShell to create a security group in Active Directory.
To create a new global group in the default Users folder of Active Directory called “Finance”:
NEW-ADGroup –name “Finance” –groupscope Global
If it needs to exist in different path in Active Directory, specify the path by its distinguished name:
NEW-ADGroup –name “Finance” –groupscope Global –path “OU=Offices,DC=Contoso,DC=local”