# Update-ManagedModuleCatalog

Refreshes package metadata in a local managed module catalog.

Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

[View on GitHub](https://github.com/EvotecIT/PSPublishModule) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSPublishModule/releases/tag/v3.0.124) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSPublishModule/2.0.27)

Stars **48**

Forks **15**

Open issues **1**

PowerShell Gallery downloads **17,213**

Release **v3.0.195**

Language: C# Updated: 2026-11-25

Command 

**Module**

`PSPublishModule`

**Inputs**

`System.String[]`

**Outputs**

`PowerForge.ManagedModuleCatalogUpdateResult`

Refreshes package metadata in a local managed module catalog.

## Syntax

```
Update-ManagedModuleCatalog
[-Credential <PSCredential>]
[-CredentialSecret <String>]
[-CredentialSecretFilePath <String>]
[-CredentialUserName <String>]
[-IncludePrerelease <Boolean>]
[[-Name] <String>]
[[-PackageName] <String[]>]
[-Scope <User|Machine|All>]
[<CommonParameters>]
```

[#](#method-update-managedmodulecatalog-pscredential-string-string-string-boolean-string-string-modulerepositoryprofilescope)

Parameter set: `All Parameter Sets`

## Examples

### Refresh selected PowerShell Gallery packages

```powershell
Update-ManagedModuleCatalog -Name PSGallery -PackageName Pester, Microsoft.Graph.Authentication
```

Queries live metadata and stores the known versions, dependency metadata, hashes, sizes, and package URLs locally.

## Parameters

**-Credential PSCredential optional**

Optional repository credential.

**-CredentialSecret String optionalaliases: Password, Token**

Optional repository credential secret.

**-CredentialSecretFilePath String optionalaliases: CredentialPath, TokenPath**

Optional path to a file containing the repository credential secret.

**-CredentialUserName String optionalaliases: UserName**

Optional repository credential username.

**-IncludePrerelease Boolean optional**

Override the catalog's prerelease refresh setting for this run.

**-Name String optionalposition: 0aliases: Repository, RepositoryName**

Catalog name. Defaults to PSGallery.

**-PackageName String[] optionalposition: 1pipeline: True (ByValue, ByPropertyName)aliases: Module, ModuleName, Package**

Package/module names to refresh. When omitted, existing catalog packages are refreshed.

**-Scope ModuleRepositoryProfileScope optional**

Catalog storage scope.

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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:33C91F4CF6C7D31757A87C8E077DA26F9AF80FA830772EDF6F0BCF97E0DCE80F -->
