StarterGpo Class

 

Contains methods and properties that enable you to manage Starter Group Policy objects (GPOs) in the directory service.

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

Inheritance Hierarchy

System.Object
  Microsoft.GroupPolicy.StarterGpo

Syntax

public sealed class StarterGpo : IEquatable<StarterGpo>
public ref class StarterGpo sealed : IEquatable<StarterGpo^>
[<Sealed>]
type StarterGpo = 
    class
        interface IEquatable<StarterGpo>
    end
Public NotInheritable Class StarterGpo
    Implements IEquatable(Of StarterGpo)

Properties

Name Description
System_CAPS_pubproperty Author

Gets the name of the author that created the Starter GPO.

System_CAPS_pubproperty ComputerVersion

Gets the version number of the computer configuration portion of the Starter Group Policy object (GPO).

System_CAPS_pubproperty CreationTime

Gets the DateTime object that represents the time at which the Starter Group Policy object (GPO) was created.

System_CAPS_pubproperty Description

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

System_CAPS_pubproperty DisplayName

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

System_CAPS_pubproperty Id

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

System_CAPS_pubproperty ModificationTime

Gets the DateTime object that represents the time at which the Starter Group Policy object (GPO) was last modified.

System_CAPS_pubproperty Owner

The security group or user that owns the Starter Group Policy object (GPO).

System_CAPS_pubproperty Product

Gets the name of the product that the Starter GPO is designed to manage.

System_CAPS_pubproperty StarterGpoType

Gets the type of Starter GPO.

System_CAPS_pubproperty StarterGpoVersion

Gets the version number of the Starter GPO.

System_CAPS_pubproperty UserVersion

Gets the version number of the user configuration portion of the Starter GPO.

Methods

Name Description
System_CAPS_pubmethod Backup(String, String)

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

System_CAPS_pubmethod Backup(String, String, GPStatusMessageCollection)

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

System_CAPS_pubmethod CopyTo(String)

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

System_CAPS_pubmethod CopyTo(String, GPStatusMessageCollection)

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

System_CAPS_pubmethod Delete()

Deletes the Starter Group Policy object (GPO) from the domain's system volume folder(SysVol).

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Equals(StarterGpo)

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

System_CAPS_pubmethod GenerateReport(ReportType)

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

System_CAPS_pubmethod GenerateReport(ReportType, GPStatusMessageCollection)

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

System_CAPS_pubmethod GenerateReportToFile(String, ReportType)

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

System_CAPS_pubmethod GenerateReportToFile(String, ReportType, GPStatusMessageCollection)

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

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSecurityInfo()

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

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SetSecurityInfo(GPPermissionCollection)

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

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

You cannot use this class to manage local GPOs (LGPOs).

This class wraps the IGPMStarterGPO COM interface.

Thread Safety

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

See Also

GPDomain
StarterGpoCollection
StarterGpoBackup
Microsoft.GroupPolicy Namespace

Return to top