API Reference
Command
Get-ADXGpoDetails
Gets a typed, ADMX-aware description of a Group Policy Object.
Examples
Example 1
Get-ADXGpoDetails -Domain 'contoso.com' -Name 'Default Domain Policy' -AdmxDirectory 'C:\\Windows\\PolicyDefinitions'
Example 2
Get-ADXGpoDetails -Domain 'contoso.com' -Id '31B2F340-016D-11D2-945F-00C04FB984F9' -AdmxDirectory 'C:\\Windows\\PolicyDefinitions' | Format-List *
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-ADXGpoDetails [-AdmxDirectory <string>] [-Category <string>] [-Domain <string>] [-FlattenTrace] [-Id <Guid>] [-IncludeAcl] [-Language <string>] [-Name <string>] [-Raw] [-Scope <string>] [-SupportedOnly] [-Trace] [<CommonParameters>]#Parameters
- AdmxDirectory string
- Optional PolicyDefinitions path (central store or local). Auto‑resolved when not supplied.
- Category string
- Optional category filter (ADMX category path or display name wildcard).
- Domain string
- DNS domain where the GPO resides. Defaults to the current domain when omitted.
- FlattenTrace SwitchParameter
- Flatten trace output to a simpler table view.
- Id Guid
- GPO GUID (groupPolicyContainer objectGuid). Use instead of -Name for unambiguous selection.
- IncludeAcl SwitchParameter
- Include owner/permissions for the GPO (adds LDAP read cost).
- Language string
- ADML language (e.g., en-US) for policy display names. Auto when omitted.
- Name string
- GPO display name (alternative to -Id).
- Raw SwitchParameter
- Output raw models instead of prettified views.
- Scope string
- Policy scope to include: Both (default), Computer or User.
- SupportedOnly SwitchParameter
- Return only policies supported on the current OS.
- Trace SwitchParameter
- Include mapping trace for policy resolution (diagnostic).
Outputs
ADPlayground.Gpo.GpoDetails