API Reference
Command
Add-BenchmarkMetric
Adds a custom benchmark metric.
Remarks
Adds a custom benchmark metric.
Examples
EXAMPLE 1
Add-BenchmarkMetric -Name 'Name'
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
Add-BenchmarkMetric -Name <String> -ScriptBlock <ScriptBlock> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Name String
- Metric name.
- ScriptBlock ScriptBlock
- Metric block.