GroupPolicyObject.CreateNew Method

 

Creates a new Group Policy object (GPO) in the specified domain.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)

Overload List

Name Description
System_CAPS_pubmethod CreateNew(Domain, String, Boolean, Boolean)

Creates a new Group Policy object (GPO) with the specified display name in the specified domain.

System_CAPS_pubmethod CreateNew(String, String, Boolean, Boolean)

Creates a new Group Policy object (GPO) with the specified display name by using the Active Directory path to a domain or a domain controller.

See Also

GroupPolicyObject Class
Microsoft.GroupPolicy Namespace

Return to top