TestimoX

API Reference

Class

GpoInfo

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers sealed

Represents information about a Group Policy Object.

Inheritance

  • Object
  • GpoInfo

Constructors

public GpoInfo(String displayName, String domainName, Guid guid, String gpoDistinguishedName, String gpoSysvolPath, IEnumerable<GpoAclEntry> acl, DateTime creationTime, DateTime modificationTime, DateTime readTime) #

Initializes a new instance of the GpoInfo class.

Parameters

displayName System.String requiredposition: 0
Display name of the GPO.
domainName System.String requiredposition: 1
Domain that hosts the GPO.
guid System.Guid requiredposition: 2
Identifier of the GPO.
gpoDistinguishedName System.String requiredposition: 3
Distinguished name of the GPO.
gpoSysvolPath System.String requiredposition: 4
Sysvol path of the GPO.
acl System.Collections.Generic.IEnumerable{ADPlayground.Gpo.GpoAclEntry} requiredposition: 5
Access control list entries.
creationTime System.DateTime requiredposition: 6
Creation time of the GPO.
modificationTime System.DateTime requiredposition: 7
Last modification time.
readTime System.DateTime requiredposition: 8
Time the GPO was read.

Properties

public String DisplayName { get; } #

Display name of the GPO.

public String DomainName { get; } #

Domain that hosts the GPO.

public Guid Guid { get; } #

Identifier of the GPO.

public Int32 Days { get; set; } #

Age in days since last modification.

public Boolean Linked { get; set; } #

Indicates whether the GPO is linked.

public Boolean Enabled { get; set; } #

Indicates whether the GPO is enabled.

public Boolean Optimized { get; set; } #

Indicates whether the GPO is optimized.

public Boolean Problem { get; set; } #

Indicates whether the GPO has problems.

public Nullable<Boolean> ApplyPermission { get; set; } #

Indicates whether the GPO has apply permission.

public Boolean Exclude { get; set; } #

Indicates whether the GPO is excluded from processing.

public Double SizeMb { get; set; } #

Size of the GPO in megabytes.

public Int64 Size { get; set; } #

Size of the GPO in bytes.

public String Description { get; set; } #

Description of the GPO.

public String ComputerPolicies { get; set; } #

Computer policies contained in the GPO.

public String UserPolicies { get; set; } #

User policies contained in the GPO.

public Int32 FilesCount { get; set; } #

Number of files associated with the GPO.

public Int32 LinksCount { get; set; } #

Total number of links.

public Int32 LinksEnabledCount { get; set; } #

Number of enabled links.

public Int32 LinksDisabledCount { get; set; } #

Number of disabled links.

public String EnabledDetails { get; set; } #

Details about the enabled state.

public Boolean ComputerProblem { get; set; } #

Indicates problems in computer configuration.

public Boolean ComputerOptimized { get; set; } #

Indicates optimization in computer configuration.

public Boolean UserProblem { get; set; } #

Indicates problems in user configuration.

public Boolean UserOptimized { get; set; } #

Indicates optimization in user configuration.

public Boolean ComputerSettingsAvailable { get; set; } #

Indicates if computer settings are available.

public Boolean UserSettingsAvailable { get; set; } #

Indicates if user settings are available.

public String ComputerSettingsTypes { get; set; } #

Types of computer settings.

public String UserSettingsTypes { get; set; } #

Types of user settings.

public Boolean ComputerEnabled { get; set; } #

Indicates if computer settings are enabled.

public Boolean UserEnabled { get; set; } #

Indicates if user settings are enabled.

public String ComputerSettingsStatus { get; set; } #

Status of computer settings.

public Boolean ComputerSettingsVersionIdentical { get; set; } #

Indicates whether computer version numbers are identical.

public IReadOnlyList<Object> ComputerSettings { get; set; } #

Detailed computer settings.

public String UserSettingsStatus { get; set; } #

Status of user settings.

public Boolean UserSettingsVersionIdentical { get; set; } #

Indicates whether user version numbers are identical.

public IReadOnlyList<Object> UserSettings { get; set; } #

Detailed user settings.

public Boolean NoSettings { get; set; } #

Indicates whether there are no settings.

public DateTime CreationTime { get; } #

Creation time of the GPO.

public DateTime ModificationTime { get; } #

Last modification time of the GPO.

public DateTime ReadTime { get; } #

Time the GPO was read.

public String WMIFilter { get; set; } #

WMI filter linked to the GPO.

public String WMIFilterDescription { get; set; } #

Description of the WMI filter.

public String GPODistinguishedName { get; } #

Distinguished name of the GPO.

public String GPOSysvolPath { get; } #

Sysvol path of the GPO.

public String Sddl { get; set; } #

Security descriptor in SDDL form.

public String Owner { get; set; } #

Owner of the GPO.

public String OwnerSid { get; set; } #

SID of the owner.

public String OwnerType { get; set; } #

Type of the owner.

public IReadOnlyList<GpoAclEntry> Acl { get; } #

Access control list entries.

public Boolean Auditing { get; set; } #

Indicates whether auditing is present.

public IReadOnlyList<GpoLink> LinksObjects { get; set; } #

Detailed information about GPO links.

public Object GpoObject { get; set; } #

Underlying GPO object if available.

public IReadOnlyList<String> ScriptCommandLines { get; set; } #

Script command lines discovered in the GPO report (startup/shutdown/logon/logoff).

public IReadOnlyList<String> PreferenceFiles { get; set; } #

Preference Files 'fromPath' or similar source paths discovered in the GPO report.

public IReadOnlyList<GpoScriptEntry> Scripts { get; set; } #

Typed script entries discovered in SYSVOL (native).

public IReadOnlyList<GpoPreferenceFile> Preferences { get; set; } #

Typed preference file references discovered in SYSVOL (native).

public IReadOnlyList<ScriptAnalysisResult> ScriptAnalyses { get; set; } #

Automatic analysis of discovered scripts (heuristics for risk indicators, encoded payloads, downloads, AMSI bypass etc.).

public ScriptSeverity HighestScriptSeverity { get; set; } #

Highest severity across all script analyses.

public String ScriptRiskSummary { get; set; } #

Concise risk summary for scripts (e.g., number of High/Critical and key findings).