API Reference
Command
Compare-ADXAdmxProviderCache
Compares a normalized ADMX provider cache with Central Store or another PolicyDefinitions folder.
Examples
Example 1: Compare a cached provider package with Central Store
Compare-ADXAdmxProviderCache -CachePolicyDefinitionsRoot C:\ProgramData\ADPlayground\AdmxProviderCache\Edge\stable\PolicyDefinitions
Example 2: Compare a cached provider package with an explicit destination
Compare-ADXAdmxProviderCache -CachePolicyDefinitionsRoot C:\Cache\Edge\PolicyDefinitions -DestinationRoot \\contoso.com\SYSVOL\contoso.com\Policies\PolicyDefinitions
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
Compare-ADXAdmxProviderCache -CachePolicyDefinitionsRoot <string> [-CopyAllLanguages] [-DestinationRoot <string>] [-Language <string>] [-Languages <string[]>] [<CommonParameters>]#Parameters
- CachePolicyDefinitionsRoot string
- Normalized provider cache PolicyDefinitions folder.
- CopyAllLanguages SwitchParameter
- Compare all ADML languages found in the provider cache.
- DestinationRoot string
- Central Store or PolicyDefinitions destination path.
- Language string
- Preferred ADML language for comparison.
- Languages string[]
- Optional whitelist of ADML languages to compare (e.g., en-US, de-DE).