AD.Group.Create
Top  Previous  Next


Creates group

Category
Active Directory

Script section
All

AD.Group.Create
GroupType, ContainerPath, GroupCN, GroupDescription

GroupType
Type of group to create, options: Local | Global | Dist_Local | Dist_Global | Dist_Universal  
·Local - domain local security group  
·Global - global security group  
·Dist_Local - domain local distribution group  
·Dist_Global - global distribution group  
·Dist_Universal - universal distribution group  

ContainerPath
Full AD path to container in which to create group  

GroupCN
Common Name of new group  

GroupDescription
Description of new group  

Exchange 2000 tip
Use Exchange.2k.Group.SetProperty to mail enable a group.

Example
Create global security group with CN "myGroup" and description "Test" in the myOU OU of domain d2.acme.com

AD.Group.Create Global, dc=com/dc=acme/dc=d2/ou=myOU, myGroup, Test

Full example
Basic user and group management with AD commands