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

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishBenchmarkMetric

Creates a benchmark metric extraction rule for DotNet publish gates.

Remarks

Creates a benchmark metric extraction rule for DotNet publish gates.

Examples

Authored help example

Create JSON-path metric rule


New-ConfigurationDotNetBenchmarkMetric -Name 'dashboard.storage.ms' -Source JsonPath -Path 'results.storageMs'
        

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-ConfigurationDotNetBenchmarkMetric [-Aggregation <First|Last|Min|Max|Average>] [-Group <Int32>] -Name <String> [-Path <String>] [-Pattern <String>] [-Required <Boolean>] [-Source <JsonPath|Regex>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Aggregation DotNetPublishBenchmarkMetricAggregation optionalposition: namedpipeline: Falsevalues: 5
Aggregation method.
Possible values: First, Last, Min, Max, Average
Group Int32 optionalposition: namedpipeline: False
Regex capture group index.
Name String requiredposition: namedpipeline: False
Metric identifier.
Path String optionalposition: namedpipeline: False
JSON path when using JsonPath source.
Pattern String optionalposition: namedpipeline: False
Regex pattern when using Regex source.
Required Boolean optionalposition: namedpipeline: False
Marks metric as required.
Source DotNetPublishBenchmarkMetricSource optionalposition: namedpipeline: Falsevalues: 2
Metric source type.
Possible values: JsonPath, Regex

Outputs

PowerForge.DotNetPublishBenchmarkMetric