# New-ProjectReleaseConfig

Scaffolds a starter project release configuration file for PowerShell-authored project builds.

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`

**Outputs**

`System.String` `PowerForge.PowerForgeProjectConfigurationScaffoldResult`

Scaffolds a starter project release configuration file for PowerShell-authored project builds.

## Syntax

```
New-ProjectReleaseConfig
[-Configuration <Release|Debug>]
[-Force]
[-Framework <String>]
[-Name <String>]
[-OutputPath <String>]
[-PassThru]
[-Portable]
[-ProjectPath <String>]
[-ProjectRoot <String>]
[-Runtimes <String[]>]
[-TargetName <String>]
[<CommonParameters>]
```

[#](#method-new-projectreleaseconfig-string-switchparameter-string-string-string-switchparameter-switchparameter-string-string-string-string)

Parameter set: `All Parameter Sets`

## Examples

### Create a starter config in Build/project.release.json

```powershell
New-ProjectReleaseConfig -ProjectRoot '.' -PassThru
```

## Parameters

**-Configuration String optional**

Release configuration value written into the starter config.

Possible values: `Release`, `Debug`

**-Force SwitchParameter optionalaliases: Overwrite**

Overwrite an existing config file.

**-Framework String optional**

Optional framework override.

**-Name String optional**

Optional release name override.

**-OutputPath String optionalaliases: ConfigPath, Path**

Output config path (default: Build\project.release.json).

**-PassThru SwitchParameter optional**

Returns detailed scaffold metadata instead of only the config path.

**-Portable SwitchParameter optional**

Configure the starter file to request a portable bundle by default.

**-ProjectPath String optional**

Optional path to a specific project file.

**-ProjectRoot String optional**

Project root used to resolve relative paths.

**-Runtimes String[] optionalaliases: Runtime**

Optional runtime identifiers override.

**-TargetName String optional**

Optional target name override.

## 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:6F0FA3695FD85434C6EDAD411F96C530E7887E7C283C34E0DCED99986C971E41 -->
