API Reference
Command
Get-ManagedModuleCatalog
Gets local managed module catalog settings or package metadata.
Remarks
Gets local managed module catalog settings or package metadata.
Examples
Show configured catalogs
Get-ManagedModuleCatalog
Returns catalog settings and cached package counts.
Show cached package metadata
Get-ManagedModuleCatalog -Name PSGallery -PackageName Pester
Returns the cached package entry for Pester from the PSGallery catalog.
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-ManagedModuleCatalog [-Name <String[]>] [-PackageName <String[]>] [-Scope <User|Machine|All>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- 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
Outputs
PowerForge.ManagedModuleCatalog, PowerForge.ManagedModuleCatalogPackage