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-ConfigurationDotNetMatrixRule

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishMatrixRule

Creates a matrix include/exclude rule for DotNet publish DSL.

Remarks

Creates a matrix include/exclude rule for DotNet publish DSL.

Examples

Authored help example

Create a matrix rule


New-ConfigurationDotNetMatrixRule -Targets 'Service*' -Runtime 'win-*' -Framework 'net10.0*' -Style 'Portable*'
        

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-ConfigurationDotNetMatrixRule [-Framework <String>] [-Runtime <String>] [-Style <String>] [-Targets <String[]>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Framework String optionalposition: namedpipeline: False
Optional framework wildcard pattern.
Runtime String optionalposition: namedpipeline: False
Optional runtime wildcard pattern.
Style String optionalposition: namedpipeline: False
Optional style wildcard pattern.
Targets String[] optionalposition: namedpipeline: False
Optional target name patterns.

Outputs

PowerForge.DotNetPublishMatrixRule