Gpo Class

 

Represents a Group Policy object (GPO).

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

System.Object
  Microsoft.GroupPolicy.Gpo

public sealed class Gpo : IEquatable<Gpo>

NameDescription
System_CAPS_pubpropertyComputer

Gets an object that represents Computer Configuration for the Group Policy object (GPO).

System_CAPS_pubpropertyCreationTime

Gets the time at which the Group Policy object (GPO) was created.

System_CAPS_pubpropertyDescription

Gets or sets the comment (or description) associated with the Group Policy object (GPO).

System_CAPS_pubpropertyDisplayName

Gets or sets the display name of the Group Policy object (GPO).

System_CAPS_pubpropertyDomainName

Gets the domain name for the Group Policy object (GPO).

System_CAPS_pubpropertyGpoStatus

Gets or sets the status of the Group Policy object (GPO).

System_CAPS_pubpropertyId

Gets the ID of the Group Policy object (GPO).

System_CAPS_pubpropertyModificationTime

Gets the time at which the Group Policy object (GPO) was last modified.

System_CAPS_pubpropertyOwner

Gets the owner of the Group Policy object (GPO).

System_CAPS_pubpropertyPath

Gets the distinguished name of the Group Policy object (GPO).

System_CAPS_pubpropertyUser

Gets an object that represents User Configuration for the Group Policy object (GPO).

System_CAPS_pubpropertyWmiFilter

Gets or sets the WMI filter that is linked to the Group Policy object (GPO).

NameDescription
System_CAPS_pubmethodBackup(String, String)

Backs up the Group Policy object (GPO) to the specified directory.

System_CAPS_pubmethodBackup(String, String, GPStatusMessageCollection)

Backs up the Group Policy object (GPO) to the specified directory and returns status.

System_CAPS_pubmethodCopyTo(GPDomain, String, Boolean, GPMigrationTable)

Copies the Group Policy object (GPO) to a destination GPO.

System_CAPS_pubmethodCopyTo(GPDomain, String, Boolean, GPMigrationTable, GPStatusMessageCollection)

Copies the Group Policy object (GPO) to a destination GPO and returns status.

System_CAPS_pubmethodDelete()

Deletes the Group Policy object (GPO).

System_CAPS_pubmethodEquals(Gpo)

Determines whether the specified Group Policy object (GPO) is equal to this GPO.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGenerateReport(ReportType)

Generates a report for the Group Policy object (GPO) in the specified format.

System_CAPS_pubmethodGenerateReport(ReportType, GPStatusMessageCollection)

Generates a report for the Group Policy object (GPO) in the specified format, and returns status.

System_CAPS_pubmethodGenerateReportToFile(ReportType, String)

Generates a report for a Group Policy object (GPO) and saves it to a specified file.

System_CAPS_pubmethodGenerateReportToFile(ReportType, String, GPStatusMessageCollection)

Generates a report for a Group Policy object (GPO), saves it to a specified file, and returns status.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetSecurityInfo()

Retrieves the set of permissions for the Group Policy object (GPO), such as who is granted permission to edit it.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodImport(GpoBackup)

Imports the policy settings from a specified Group Policy object (GPO) backup.

System_CAPS_pubmethodImport(GpoBackup, GPMigrationTable)

Imports the policy settings from a specified Group Policy object (GPO) backup by using the specified migration table.

System_CAPS_pubmethodImport(GpoBackup, GPMigrationTable, Boolean)

Imports the policy settings from the specified Group Policy object (GPO) backup by using the specified migration table and a value that specifies whether to fail if a map entry does not exist.

System_CAPS_pubmethodImport(GpoBackup, GPMigrationTable, Boolean, GPStatusMessageCollection)

Imports the policy settings from a specified Group Policy object (GPO) backup by using the specified migration table and a value that specifies whether to fail if a map entry does not exist. This method also returns status.

System_CAPS_pubmethodImport(GpoBackup, GPMigrationTable, GPStatusMessageCollection)

Imports the policy settings from the specified Group Policy object (GPO) backup by using the specified migration table and returns status.

System_CAPS_pubmethodImport(GpoBackup, GPStatusMessageCollection)

Imports the policy settings from a specified Group Policy object (GPO) backup and returns status.

System_CAPS_pubmethodIsAclConsistent()

Checks for the consistency of ACLs between the directory service and the system volume folder (SysVol).

System_CAPS_pubmethodMakeAclConsistent()

Makes ACLs consistent on the directory service and the system volume folder (SysVol) of the Group Policy object (GPO).

System_CAPS_pubmethodSetSecurityInfo(GPPermissionCollection)

Sets the trustees (security principals) and their permissions for the Group Policy object (GPO).

System_CAPS_pubmethodToString()

(Inherited from Object.)

This class wraps the IGPMGPO COM interface.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: