Command
Get-ManagedModuleCatalog
Gets local managed module catalog settings or package metadata.
Syntax
Get-ManagedModuleCatalog
[[-Name] <String[]>]
[-PackageName <String[]>]
[-Scope <User| Machine| All>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Show configured catalogs
Get-ManagedModuleCatalogReturns catalog settings and cached package counts.
Show cached package metadata
Get-ManagedModuleCatalog -Name PSGallery -PackageName PesterReturns the cached package entry for Pester from the PSGallery catalog.
Parameters
- -Name String[]
- Optional catalog names. When omitted, all visible catalogs are returned.
- -PackageName String[]
- Optional package names to return from the selected catalogs.
- -Scope ModuleRepositoryProfileScope
- Catalog storage scope. The default reads user catalogs before machine-wide catalogs.
- Possible values:
User,Machine,All
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.