# Invoke-PowerForgePluginExport

Exports plugin folders from a reusable PowerForge plugin catalog configuration.

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

`None`

Exports plugin folders from a reusable PowerForge plugin catalog configuration.

## Syntax

```
Invoke-PowerForgePluginExport
[-ConfigPath <String>]
[-Configuration <Release|Debug>]
[-ExitCode]
[-Group <String[]>]
[-KeepSymbols]
[-OutputRoot <String>]
[-Plan]
[-PreferredFramework <String>]
[-ProjectRoot <String>]
[<CommonParameters>]
```

[#](#method-invoke-powerforgepluginexport-string-string-switchparameter-string-switchparameter-string-switchparameter-string-string)

Parameter set: `All Parameter Sets`

## Description

This cmdlet is the PowerShell entry point for the same generic plugin export engine used by powerforge plugin export. It plans and optionally publishes plugin project outputs into folder-based plugin bundles without hardcoding IntelligenceX-specific project lists or manifest formats into the engine.

## Examples

### Plan plugin folder export using the default discovered config

```powershell
Invoke-PowerForgePluginExport -Plan
```

### Export only public plugins and keep symbol files

```powershell
Invoke-PowerForgePluginExport -ConfigPath '.\Build\powerforge.plugins.json' -Group public -KeepSymbols -ExitCode
```

## Parameters

**-ConfigPath String optional**

Path to the plugin catalog configuration file. When omitted, the cmdlet searches the current directory and its parents for standard PowerForge plugin config names.

**-Configuration String optional**

Optional configuration override.

Possible values: `Release`, `Debug`

**-ExitCode SwitchParameter optional**

Sets host exit code: 0 on success, 1 on failure.

**-Group String[] optionalaliases: Groups**

Optional plugin group filter. When omitted, all catalog entries are selected.

**-KeepSymbols SwitchParameter optional**

Keeps symbol files in exported plugin folders.

**-OutputRoot String optional**

Optional output root override for exported plugin folders.

**-Plan SwitchParameter optional**

Builds and emits the resolved export plan without executing dotnet publish.

**-PreferredFramework String optionalaliases: Framework**

Optional preferred framework override used when a catalog entry targets multiple frameworks.

**-ProjectRoot String optional**

Optional project root override for resolving plugin project paths.

## 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:AE24A9662DE25C56340D1C6E8167BE53AFF2C57AD571A1E27AEF8A81C28BD479 -->
