API Reference
Command
Get-TestimoXAdmxPolicy
Queries a generated ADMX explorer bundle and optionally loads full policy payloads.
Examples
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
- Bundle directory or manifest.json path generated by Export-ADXAdmxCatalog.
- Query string
- Free-text policy query. Multiple words must all match the entry.
- CategoryPath string
- Category path prefix filter using slash or backslash separators.
- First int
- Maximum number of matching entries to return.
- IncludePolicy SwitchParameter
- Returns full AdmxCatalogPolicy objects from source payload files instead of lightweight search entries.
- PolicyClassName string
- Policy class filter, such as Machine, User, or Both.
- PolicyId string
- Exact policy identifier, usually Source.admx::PolicyName.
- RegistryKey string
- Registry key fragment filter.
- RegistryValue string
- Registry value name filter.
- SourceAdmx string
- Source ADMX filename filter.
- SourcePackageId string
- Source package identifier filter, such as package:windows-policydefinitions.
- SourcePackageName string
- Source package display name filter, such as Windows PolicyDefinitions.
Outputs
ADPlayground.Gpo.GpoLocal.AdmxCatalogPolicy, ADPlayground.Gpo.GpoLocal.AdmxExplorerSearchEntry