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

New-ConfigurationDotNetMatrix

Module PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishMatrix

Creates matrix defaults and include/exclude filters for DotNet publish DSL.

Syntax

New-ConfigurationDotNetMatrix [-Exclude <DotNetPublishMatrixRule[]>] [-Frameworks <String[]>] [-Include <DotNetPublishMatrixRule[]>] [-Runtimes <String[]>] [-Styles <DotNetPublishStyle[]>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Create matrix defaults

New-ConfigurationDotNetMatrix -Runtimes 'win-x64','win-arm64' -Frameworks 'net10.0','net10.0-windows' -Styles PortableCompat,AotSpeed

Parameters

-Exclude DotNetPublishMatrixRule[] optional
Exclude rules.
-Frameworks String[] optional
Default frameworks.
-Include DotNetPublishMatrixRule[] optional
Include rules.
-Runtimes String[] optional
Default runtimes.
-Styles DotNetPublishStyle[] optional
Default styles.
Possible values: Portable, PortableCompat, PortableSize, SelfContained, FrameworkDependent, AotSpeed, AotSize

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.