The below script will create a single Global Security group in Active Directory.

– Change “LDAP://ou=HR,dc=NA,dc=fabrikam,dc=com to your domain and the OU where you want the group created

– Change “cn=Test” and “sAMAccountName” to the name of the group

– Change “Just a test group” to the description of the group