TestimoX

API Reference

Class

GpoOwnerReportService

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

Provides a GPOZaurr-style owner report for GPOs in a domain (AD owner + SYSVOL owner).

Inheritance

  • Object
  • GpoOwnerReportService

Methods

public static IReadOnlyList<GpoOwnerRow> GetOwners(String domainName, Boolean includeSysvol = true, Boolean skipBroken = false, IReadOnlyList<String> approvedOwners = null, Int32 maxGpos = 50000) #
Returns: IReadOnlyList<GpoOwnerRow>

Enumerates GPO ownership information for the specified domain.

Parameters

domainName System.String requiredposition: 0
DNS domain name.
includeSysvol System.Boolean = true optionalposition: 1
When true, also reads SYSVOL folder ownership and reports consistency.
skipBroken System.Boolean = false optionalposition: 2
When true, skips GPOs whose SYSVOL folder is missing/unreachable.
approvedOwners System.Collections.Generic.IReadOnlyList{System.String} = null optionalposition: 3
Optional list of approved owner identities (name or SID) used to label non-admin owners.
maxGpos System.Int32 = 50000 optionalposition: 4
Maximum number of GPOs to process.

Returns

Ownership rows (best-effort; skips GPOs that cannot be read).