API Reference
Command
Get-TestimoXAdmxPolicyArtifact
Gets generated deployment artifacts for a policy in a static ADMX explorer bundle.
Examples
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
- Bundle directory or manifest.json path generated by Export-ADXAdmxCatalog.
- PolicyId string
- Exact policy identifier, usually Source.admx::PolicyName.
- Scope PolicyScope
- Optional policy scope. When omitted, the first generated scope for the policy is used. Possible values: Machine, User
- Possible values:
Machine,User - State PolicyState
- Requested policy state artifact. Possible values: NotConfigured, Enabled, Disabled
- Possible values:
NotConfigured,Enabled,Disabled
Outputs
ADPlayground.Gpo.GpoLocal.AdmxExplorerPolicyArtifactResult