API Reference
Class
GpoApi
PowerShell-like facade for GPO retrieval. Returns typed GPO infos.
Inheritance
- Object
- GpoApi
Methods
public static IReadOnlyList<GpoInfo> Get(String domain, String name = null, Nullable<Guid> id = null, GpoQueryOptions options = null) #Returns:
IReadOnlyList<GpoInfo>Retrieves GPOs for a domain with optional filters by name or ID.
Parameters
- domain System.String
- DNS domain name to query.
- name System.String = null
- Optional display name filter.
- id System.Nullable{System.Guid} = null
- Optional GPO GUID filter.
- options ADPlayground.Gpo.GpoQueryOptions = null
- Optional query options (domains scope, permissions-only, etc.).
Returns
List of GpoInfo items matching the filters.