API Reference
Command
New-BenchmarkSuite
Declares a PowerShell benchmark suite.
Remarks
Declares a PowerShell benchmark suite.
Examples
EXAMPLE 1
New-BenchmarkSuite -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
New-BenchmarkSuite -Name <String> [-OutputRoot <String>] -ScriptBlock <ScriptBlock> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Name String
- Suite name.
- OutputRoot String
- Output root for benchmark artifacts.
- ScriptBlock ScriptBlock
- Suite declaration body.