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

Export-ConfigurationProject

Module PSPublishModule
Inputs
None
Outputs
System.String

Exports a PowerShell-authored project release object to JSON.

Syntax

Export-ConfigurationProject [-Force] -OutputPath <String> -Project <ConfigurationProject> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Write a project configuration file

Export-ConfigurationProject -Project $project -OutputPath '.\Build\project.release.json'

Parameters

-Force SwitchParameter optionalaliases: Overwrite
Overwrites an existing file.
-OutputPath String requiredaliases: Path
Output JSON path.
-Project ConfigurationProject required
Project configuration object to export.

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.