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

Cmdlet

New-ConfigurationDotNetConfigBootstrapRule

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishConfigBootstrapRule

Creates config bootstrap copy rules for DotNet publish service packages.

Remarks

Creates config bootstrap copy rules for DotNet publish service packages.

Examples

Authored help example

Create config bootstrap rule


New-ConfigurationDotNetConfigBootstrapRule -SourcePath 'appsettings.example.json' -DestinationPath 'appsettings.json'
        

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

New-ConfigurationDotNetConfigBootstrapRule -DestinationPath <String> [-OnMissingSource <Warn|Fail|Skip>] [-Overwrite] -SourcePath <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

DestinationPath String requiredposition: namedpipeline: False
Destination file path relative to output.
OnMissingSource DotNetPublishPolicyMode optionalposition: namedpipeline: Falsevalues: 3
Policy when source file is missing.
Possible values: Warn, Fail, Skip
Overwrite SwitchParameter optionalposition: namedpipeline: False
Allows overwriting existing destination file.
SourcePath String requiredposition: namedpipeline: False
Source file path relative to output.

Outputs

PowerForge.DotNetPublishConfigBootstrapRule