TestimoX

API Reference

Command

Invoke-ADXAdmxProviderMaintenance

Namespace ADPlayground.PowerShell

Runs batch ADMX provider cache maintenance and optional Central Store comparison.

Examples

Authored help example

Example 1: Refresh selected providers and compare them with Central Store


Invoke-ADXAdmxProviderMaintenance -Provider Edge,Chrome,Firefox -DestinationRoot \\contoso.com\SYSVOL\contoso.com\Policies\PolicyDefinitions
        

Example 2: Maintain providers from a data-driven source catalog


Invoke-ADXAdmxProviderMaintenance -ProviderSourceCatalog .\admx-provider-sources.json -DestinationRoot \\contoso.com\SYSVOL\contoso.com\Policies\PolicyDefinitions
        

Example 3: Maintain selected source ids from a data-driven source catalog


Invoke-ADXAdmxProviderMaintenance -ProviderSourceCatalog .\admx-provider-sources.json -ProviderSourceId edge,chrome
        

Example 4: Maintain a custom provider from a JSON release manifest


Invoke-ADXAdmxProviderMaintenance -ReleaseManifest .\contoso-admx.json -DestinationRoot \\contoso.com\SYSVOL\contoso.com\Policies\PolicyDefinitions
        

Example 5: Preview maintenance by using the existing provider catalog only


Invoke-ADXAdmxProviderMaintenance -Provider Edge,Chrome -DestinationRoot \\contoso.com\SYSVOL\contoso.com\Policies\PolicyDefinitions -WhatIf
        

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

Invoke-ADXAdmxProviderMaintenance [-Provider <Edge>] [-CacheRoot <string>] [-Channel <Stable|Beta|Dev|Canary>] [-CopyAllLanguages] [-DestinationRoot <string>] [-Language <string>] [-Languages <string[]>] [-MaintenanceProfile <string>] [-MaxDegreeOfParallelism <int>] [-PerProviderTimeoutSeconds <int>] [-ProviderSourceCatalog <string>] [-ProviderSourceId <string[]>] [-ReleaseManifest <string[]>] [-SkipRefresh] [<CommonParameters>]
#

Parameters

Provider AdmxProvider[] optionalposition: 0pipeline: falsevalues: 29
Providers to process. When omitted, all built-in providers are processed. Possible values: Edge, Windows, Office, Notepad, Chrome, Firefox, Clipchamp, SecurityAdmx, Zoom, Winget, AdobeAcrobat, AdobeReader, Brave, FSLogix, OneDrive, VisualStudio, VsCode, RemoteDesktopManager, DellCommandUpdate, PsAppDeployToolkit, WingetAutoUpdate, Teams, Slack, CitrixWorkspaceApp, Mdop, OneDriveOnline, PowerShell, PowerToys, WindowsTerminal
Possible values: Edge, Windows, Office, Notepad, Chrome, Firefox, Clipchamp, SecurityAdmx, Zoom, Winget, AdobeAcrobat, AdobeReader, Brave, FSLogix, OneDrive, VisualStudio, VsCode, RemoteDesktopManager, DellCommandUpdate, PsAppDeployToolkit, WingetAutoUpdate, Teams, Slack, CitrixWorkspaceApp, Mdop, OneDriveOnline, PowerShell, PowerToys, WindowsTerminal
CacheRoot string optionalposition: namedpipeline: false
Root folder for provider cache data.
Channel AdmxEdgeChannel optionalposition: namedpipeline: falsevalues: 4
Edge channel when the Edge provider is processed. Possible values: Stable, Beta, Dev, Canary
Possible values: Stable, Beta, Dev, Canary
CopyAllLanguages SwitchParameter optionalposition: namedpipeline: false
Copy and compare all ADML languages found in provider packages.
DestinationRoot string optionalposition: namedpipeline: false
Central Store or PolicyDefinitions destination path used for comparison.
Language string optionalposition: namedpipeline: false
Preferred ADML language for cache normalization and comparison.
Languages string[] optionalposition: namedpipeline: false
Optional whitelist of ADML languages to copy and compare.
MaintenanceProfile string optionalposition: namedpipeline: false
JSON maintenance profile containing providers, custom manifests, destination, cache root, and language settings.
MaxDegreeOfParallelism int optionalposition: namedpipeline: false
Maximum number of provider packages to refresh concurrently.
PerProviderTimeoutSeconds int optionalposition: namedpipeline: false
Maximum seconds a single provider package refresh may run before it is reported as unresolved.
ProviderSourceCatalog string optionalposition: namedpipeline: false
JSON provider source catalog containing built-in, direct-download, local-source, and manual-review entries.
ProviderSourceId string[] optionalposition: namedpipeline: false
Optional provider source catalog ids to include when ProviderSourceCatalog is used.
ReleaseManifest string[] optionalposition: namedpipeline: false
Custom JSON release manifests to maintain outside the built-in provider enum.
SkipRefresh SwitchParameter optionalposition: namedpipeline: false
Use the existing provider catalog only and do not refresh provider downloads.