Command
New-BenchmarkSuite
Declares a PowerShell benchmark suite.
Syntax
New-BenchmarkSuite
[-Name] <String>
[-OutputRoot <String>]
[-ScriptBlock] <ScriptBlock>
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
New-BenchmarkSuite -Name 'Name'Parameters
- -Name String
- Suite name.
- -OutputRoot String
- Output root for benchmark artifacts.
- -ScriptBlock ScriptBlock
- Suite declaration body.
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.