Project

PSPublishModule

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

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.169
Language: C# Updated: 2026-10-17
Command

Invoke-PowerForgePluginExport

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>]
#
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

Authored help example

Plan plugin folder export using the default discovered config

Invoke-PowerForgePluginExport -Plan

Export only public plugins and keep symbol files

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.