Evotec

Project

PSPublishModule

PSPublishModule is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars 43
Forks 13
Open issues 1
PowerShell Gallery downloads 13,876
Release v3.0.3
Language: C# Updated: 2026-04-14

API Reference

Command

Invoke-PowerForgePluginExport

Namespace PSPublishModule
Inputs
None
Outputs
System.Object

Exports plugin folders from a reusable PowerForge plugin catalog configuration.

Remarks

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
        

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

Invoke-PowerForgePluginExport [-ConfigPath <String>] [-Configuration <Release|Debug>] [-ExitCode] [-Group <String[]>] [-KeepSymbols] [-OutputRoot <String>] [-Plan] [-PreferredFramework <String>] [-ProjectRoot <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

ConfigPath String optionalposition: namedpipeline: False
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 optionalposition: namedpipeline: Falsevalues: 2
Optional configuration override.
Possible values: Release, Debug
ExitCode SwitchParameter optionalposition: namedpipeline: False
Sets host exit code: 0 on success, 1 on failure.
Group String[] optionalposition: namedpipeline: Falsealiases: Groups
Optional plugin group filter. When omitted, all catalog entries are selected.
KeepSymbols SwitchParameter optionalposition: namedpipeline: False
Keeps symbol files in exported plugin folders.
OutputRoot String optionalposition: namedpipeline: False
Optional output root override for exported plugin folders.
Plan SwitchParameter optionalposition: namedpipeline: False
Builds and emits the resolved export plan without executing dotnet publish.
PreferredFramework String optionalposition: namedpipeline: Falsealiases: Framework
Optional preferred framework override used when a catalog entry targets multiple frameworks.
ProjectRoot String optionalposition: namedpipeline: False
Optional project root override for resolving plugin project paths.

Outputs

System.Object