TestimoX

API Reference

Command

Get-TestimoXAdmxPolicy

Namespace TestimoX.PowerShell
Outputs
ADPlayground.Gpo.GpoLocal.AdmxCatalogPolicy ADPlayground.Gpo.GpoLocal.AdmxExplorerSearchEntry

Queries a generated ADMX explorer bundle and optionally loads full policy payloads.

Examples

Authored help example

Example 1: Search a generated website ADMX bundle for lock screen policies

PS>


Get-TestimoXAdmxPolicy -Path .\Website\static\data\admx-explorer -Query 'lock screen'
        

Example 2: Load the full policy object for a specific policy id

PS>


Get-TestimoXAdmxPolicy -Path .\Website\static\data\admx-explorer -PolicyId 'Display.admx::DisplayConfigureMultipleDisplayMode' -IncludePolicy
        

Example 3: Find machine policies touching a registry value

PS>


Get-TestimoXAdmxPolicy -Path .\Website\static\data\admx-explorer -PolicyClassName Machine -RegistryValue NoLockScreen
        

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-TestimoXAdmxPolicy -Path <string> [-Query <string>] [-CategoryPath <string>] [-First <int>] [-IncludePolicy] [-PolicyClassName <string>] [-PolicyId <string>] [-RegistryKey <string>] [-RegistryValue <string>] [-SourceAdmx <string>] [-SourcePackageId <string>] [-SourcePackageName <string>] [<CommonParameters>]
#

Parameters

Path string requiredposition: 0pipeline: false
Bundle directory or manifest.json path generated by Export-ADXAdmxCatalog.
Query string optionalposition: 1pipeline: false
Free-text policy query. Multiple words must all match the entry.
CategoryPath string optionalposition: namedpipeline: false
Category path prefix filter using slash or backslash separators.
First int optionalposition: namedpipeline: false
Maximum number of matching entries to return.
IncludePolicy SwitchParameter optionalposition: namedpipeline: false
Returns full AdmxCatalogPolicy objects from source payload files instead of lightweight search entries.
PolicyClassName string optionalposition: namedpipeline: false
Policy class filter, such as Machine, User, or Both.
PolicyId string optionalposition: namedpipeline: false
Exact policy identifier, usually Source.admx::PolicyName.
RegistryKey string optionalposition: namedpipeline: false
Registry key fragment filter.
RegistryValue string optionalposition: namedpipeline: false
Registry value name filter.
SourceAdmx string optionalposition: namedpipeline: false
Source ADMX filename filter.
SourcePackageId string optionalposition: namedpipeline: false
Source package identifier filter, such as package:windows-policydefinitions.
SourcePackageName string optionalposition: namedpipeline: false
Source package display name filter, such as Windows PolicyDefinitions.

Outputs

ADPlayground.Gpo.GpoLocal.AdmxCatalogPolicy, ADPlayground.Gpo.GpoLocal.AdmxExplorerSearchEntry