TestimoX

API Reference

Command

Get-ADXRsopResult

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.Gpo.RsopResultReport

Builds live RSOP (Resultant Set of Policy) by reading the registry and mapping to ADMX — no gpresult.exe/WMI providers required.

Examples

Authored help example

Example 1: List Administrative Templates for Computer scope


Get-ADXRsopResult -Scope Computer -View Settings
        

Example 2: gpresult-like view for a specific user (remote HKU\SID must be loaded)


Get-ADXRsopResult -Scope User -UserSid S-1-5-21-... -View GpResult
        

Example 3: Show recent Group Policy processing log summary


Get-ADXRsopResult -Scope Computer -View GpLogging -Minimal
        

Example 4: Remote user RSOP via offline hive (no gpresult.exe)


Get-ADXRsopResult -Scope User -ComputerName SRV01 -UserSid S-1-5-21-... -UseRemoteHive -View Settings
        

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-ADXRsopResult [-AdmxDirectory <string>] [-Category <string>] [-ComputerName <string>] [-IncludeTrace] [-Language <string>] [-Minimal] [-Scope <Computer|User>] [-SupportedOnly] [-UseRemoteHive] [-UserSid <string>] [-View <Raw>] [<CommonParameters>]
#

Parameters

AdmxDirectory string optionalposition: namedpipeline: false
Optional ADMX/ADML directory; auto-resolved when omitted.
Category string optionalposition: namedpipeline: false
Wildcard filter for category/policy display/name.
ComputerName string optionalposition: namedpipeline: false
Remote computer name; when omitted, uses local machine.
IncludeTrace SwitchParameter optionalposition: namedpipeline: false
Include RSOP trace (candidate policies and resolution diagnostics).
Language string optionalposition: namedpipeline: false
Preferred ADML language (e.g., en-US).
Minimal SwitchParameter optionalposition: namedpipeline: false
Emit compact rows for Trace view (handy for diffs/pipelines).
Scope RegistryPolicyScope optionalposition: namedpipeline: falsevalues: 2
RSOP scope to compute (Computer or User). Possible values: Computer, User
Possible values: Computer, User
SupportedOnly SwitchParameter optionalposition: namedpipeline: false
Return only policies marked as Supported on the target OS.
UseRemoteHive SwitchParameter optionalposition: namedpipeline: false
Use offline hive loading for remote user RSOP (loads \\Computer\C$\Users\...\NTUSER.DAT via admin share). Requires -ComputerName and -UserSid and Scope=User. Does not use gpresult.exe or WMI providers.
UserSid string optionalposition: namedpipeline: false
User SID for User scope; for remote, HKU\<SID> must be loaded.
View AdxRsopResultView optionalposition: namedpipeline: falsevalues: 12
Optional view selector; enum lives in ADPlayground engine. Possible values: None, Raw, Settings, Unknown, Coverage, Trace, Policies, Audit, GpLogging, GpLoggingSummary, GpLoggingDetails, GpResult, Summary
Possible values: Raw, Settings, Unknown, Coverage, Trace, Policies, Audit, GpLogging, GpLoggingSummary, GpLoggingDetails, GpResult, Summary

Outputs

ADPlayground.Gpo.RsopResultReport