TestimoX

API Reference

Command

Compare-ADXAdmxProviderCache

Namespace ADPlayground.PowerShell

Compares a normalized ADMX provider cache with Central Store or another PolicyDefinitions folder.

Examples

Authored help example

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 requiredposition: 0pipeline: false
Normalized provider cache PolicyDefinitions folder.
CopyAllLanguages SwitchParameter optionalposition: namedpipeline: false
Compare all ADML languages found in the provider cache.
DestinationRoot string optionalposition: namedpipeline: false
Central Store or PolicyDefinitions destination path.
Language string optionalposition: namedpipeline: false
Preferred ADML language for comparison.
Languages string[] optionalposition: namedpipeline: false
Optional whitelist of ADML languages to compare (e.g., en-US, de-DE).