API Reference
Command
Test-ADXPolicySupported
Tests whether an ADMX policy is supported on a target OS.
Examples
Example 1
Test-ADXPolicySupported -AdmxDirectory 'C:\\Windows\\PolicyDefinitions' -PolicyName 'SomePolicy'
Example 2
Test-ADXPolicySupported -AdmxDirectory 'C:\\Windows\\PolicyDefinitions' -PolicyName 'SomePolicy' -ComputerName 'SERVER01'
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
Test-ADXPolicySupported -AdmxDirectory <string> -PolicyName <string> [-ComputerName <string>] [-Language <string>] [<CommonParameters>]#Parameters
- AdmxDirectory string
- Path to a PolicyDefinitions store containing ADMX/ADML files (central store or local).
- PolicyName string
- Internal ADMX policy name to evaluate.
- ComputerName string
- Target computer name for OS detection; null uses local computer.
- Language string
- Preferred language for string resolution (e.g., en-US).
Outputs
ADPlayground.Gpo.GpoLocal.PolicySupportResult