TestimoX

API Reference

Command

Get-TestimoXAdmxPolicyArtifact

Namespace TestimoX.PowerShell
Outputs
ADPlayground.Gpo.GpoLocal.AdmxExplorerPolicyArtifactResult

Gets generated deployment artifacts for a policy in a static ADMX explorer bundle.

Examples

Authored help example

Example 1: Get the enabled artifact for a policy

PS>


Get-TestimoXAdmxPolicyArtifact -Path .\Website\_site\data\admx-explorer -PolicyId 'ControlPanelDisplay.admx::CPL_Display_Disable'
        

Example 2: Get a user-scope disabled artifact

PS>


Get-TestimoXAdmxPolicyArtifact -Path .\Website\_site\data\admx-explorer -PolicyId 'ControlPanelDisplay.admx::CPL_Display_Disable' -State Disabled -Scope User
        

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-TestimoXAdmxPolicyArtifact -Path <string> -PolicyId <string> [-Scope <Machine|User>] [-State <NotConfigured|Enabled|Disabled>] [<CommonParameters>]
#

Parameters

Path string requiredposition: 0pipeline: false
Bundle directory or manifest.json path generated by Export-ADXAdmxCatalog.
PolicyId string requiredposition: 1pipeline: false
Exact policy identifier, usually Source.admx::PolicyName.
Scope PolicyScope optionalposition: namedpipeline: falsevalues: 2
Optional policy scope. When omitted, the first generated scope for the policy is used. Possible values: Machine, User
Possible values: Machine, User
State PolicyState optionalposition: namedpipeline: falsevalues: 3
Requested policy state artifact. Possible values: NotConfigured, Enabled, Disabled
Possible values: NotConfigured, Enabled, Disabled

Outputs

ADPlayground.Gpo.GpoLocal.AdmxExplorerPolicyArtifactResult