API Reference
Class
GpoOrganizationalUnitService
Produces an Organizational Unit (OU) inventory with object counts and linked GPO metadata, matching the intent of the legacy GPOZaurr OU report.
Inheritance
- Object
- GpoOrganizationalUnitService
Methods
public static IReadOnlyList<GpoOrganizationalUnitRow> GetOrganizationalUnits(IReadOnlyList<String> domains, IReadOnlyList<String> excludeOrganizationalUnit = null, IReadOnlyList<GpoListItem> gpoList = null) #Returns:
IReadOnlyList<GpoOrganizationalUnitRow>Returns an OU inventory for the provided domain list.
Parameters
- domains System.Collections.Generic.IReadOnlyList{System.String}
- Domain DNS names to process.
- excludeOrganizationalUnit System.Collections.Generic.IReadOnlyList{System.String} = null
- Optional OU DN wildcard exclusions (PowerShell-like).
- gpoList System.Collections.Generic.IReadOnlyList{ADPlayground.Gpo.GpoListItem} = null
- Optional pre-fetched GPO list used to resolve display names without extra LDAP calls.
Returns
List of OU rows including object counts, link counts, and recommendations.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object