# Find-ManagedModule

Finds module versions from a managed module repository.

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.ManagedModuleVersionInfo`

Finds module versions from a managed module repository.

## Syntax

```
Find-ManagedModule
[-AllVersions]
[-Credential <PSCredential>]
[-CredentialSecret <String>]
[-CredentialSecretFilePath <String>]
[-CredentialUserName <String>]
[-First <Int32>]
[-IncludeDependencies]
[[-Name] <String[]>]
[-Prerelease]
[-ProfileName <String>]
[-Proxy <Uri>]
[-ProxyCredential <PSCredential>]
[[-Repository] <String>]
[-RepositoryName <String>]
[-ResourceType <Module>]
[-Tag <String[]>]
[-Version <String>]
[<CommonParameters>]
```

[#](#method-find-managedmodule-switchparameter-pscredential-string-string-string-int32-switchparameter-string-switchparameter-string-uri-pscredential-string-string-string-string-string)

Parameter set: `All Parameter Sets`

## Description

This command is the module-package equivalent of Find-PSResource. It queries NuGet-compatible or local-folder repositories through the managed C# repository client and returns typed module version objects that can be piped to Install-ManagedModule or Save-ManagedModule.

Name, exact/range version, prerelease, tag, and dependency searches are supported for module packages. Command-name and DSC-resource-name searches inspect package contents and remain outside this fast metadata path.

## Examples

### Find the latest stable version of a module

```powershell
Find-ManagedModule -Name Company.Tools
```

### Find modules using a wildcard package id

```powershell
Find-ManagedModule -Name Company.* -Repository C:\Packages
```

### Find all versions from a local folder feed

```powershell
Find-ManagedModule -Name Company.Tools -Repository C:\Packages -AllVersions -AllowPrerelease
```

### Find versions in a NuGet range and pipe the typed results to save

```powershell
Find-ManagedModule -Name Company.Tools -Version '[1.2.0,2.0.0)' -ProfileName CompanyModules | Save-ManagedModule -Path C:\OfflineModules
```

## Parameters

**-AllVersions SwitchParameter optional**

Return all matching versions instead of only the latest selected version.

**-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.

**-First Int32 optional**

Maximum search results returned for wildcard name queries.

**-IncludeDependencies SwitchParameter optional**

Include dependency resources exposed by repository metadata.

**-Name String[] optionalposition: 0pipeline: True (ByValue, ByPropertyName)aliases: ModuleName**

Module names or wildcard patterns to find. When omitted, all module package names are considered.

**-Prerelease SwitchParameter optionalaliases: AllowPrerelease**

Include prerelease versions.

**-ProfileName String optional**

Saved module repository profile to use instead of Repository.

**-Proxy Uri optional**

Optional HTTP proxy used for repository requests.

**-ProxyCredential PSCredential optional**

Optional proxy credential used with Proxy.

**-Repository String optionalposition: 1aliases: RepositoryUri, Source**

Repository URL, NuGet v3 service index, flat-container URL, or local folder feed.

**-RepositoryName String optional**

Friendly repository name used in output.

**-ResourceType String[] optionalaliases: Type**

Resource kind to find. Find-ManagedModule currently returns module resources.

Possible values: `Module`

**-Tag String[] optionalaliases: Tags**

Filter results by package tag metadata.

**-Version String optional**

Exact version, wildcard version, or NuGet-style version range to return.

## 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:68B2146B63F4ABFAED4C17F8E1D23AC67D74FCF3434DCEA222F338308E03BB9A -->
