GPDomain Methods

 

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

Methods

Name Description
System_CAPS_pubmethod CreateGpo(String)

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

System_CAPS_pubmethod CreateGpo(String, StarterGpo)

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

System_CAPS_pubmethod CreateStarterGpo(String)

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

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetAllGpos()

Retrieves all the Group Policy objects (GPOs) in the domain.

System_CAPS_pubmethod GetAllStarterGpos()

Retrieves all the Starter Group Policy objects (GPOs) in the domain.

System_CAPS_pubmethod GetGpo(Guid)

Retrieves the Group Policy object (GPO) with the specified ID (GUID) from the domain.

System_CAPS_pubmethod GetGpo(String)

Retrieves the Group Policy object (GPO) with the specified display name from the domain.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSom(String)

Retrieves a scope of management (SOM) that represents the domain or the organizational unit (OU) at the specified path.

System_CAPS_pubmethod GetStarterGpo(Guid)

Retrieves the Starter Group Policy object (GPO) that has the specified ID (GUID) from the domain.

System_CAPS_pubmethod GetStarterGpo(String)

Retrieves the Starter Group Policy object (GPO) that has the specified display name from the domain.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetWmiFilter(String)

Retrieves the specified WMI filter from the domain.

System_CAPS_pubmethod ImportStarterGpo(String, Boolean)

Imports a Starter Group Policy object (GPO) into the domain from the specified Starter GPO cabinet (CAB) file.

System_CAPS_pubmethod ImportStarterGpo(String, Boolean, GPStatusMessageCollection)

Imports a Starter Group Policy object (GPO) into the domain from the specified Starter GPO cabinet (CAB) file and return status.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RestoreGpo(GpoBackup)

Restores a Group Policy object (GPO) to the domain from the specified GPO backup.

System_CAPS_pubmethod RestoreGpo(GpoBackup, GPStatusMessageCollection)

Restores a Group Policy object (GPO) to the domain from the specified GPO backup.

System_CAPS_pubmethod RestoreStarterGpo(StarterGpoBackup)

Restores the Starter Group Policy object (GPO) from the specified Starter GPO backup.

System_CAPS_pubmethod RestoreStarterGpo(StarterGpoBackup, GPStatusMessageCollection)

Restores the Starter Group Policy object (GPO) from the specified Starter GPO backup and returns status.

System_CAPS_pubmethod SearchGpos(GPSearchCriteria)

Queries the domain for Group Policy objects (GPOs) that match a set of search criteria.

System_CAPS_pubmethod SearchGpos(String)

Queries for Group Policy objects (GPOs) that have the specified display name.

System_CAPS_pubmethod SearchSoms(Gpo)

Retrieves a scope of management (SOM) for each container (in the domain) that the specified GPO is linked to.

System_CAPS_pubmethod SearchStarterGpos(GPSearchCriteria)

Queries the domain for Starter Group Policy object (GPO) that match a set of search criteria.

System_CAPS_pubmethod SearchStarterGpos(String)

Queries for Starter Group Policy object (GPO) that have the specified display name.

System_CAPS_pubmethod SearchWmiFilters(GPSearchCriteria)

Queries the domain for all WMI filters.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

See Also

GPDomain Class
Microsoft.GroupPolicy Namespace

Return to top