API Reference
Command
Add-BenchmarkOperation
Adds an operation handler to the current benchmark engine.
Remarks
Adds an operation handler to the current benchmark engine.
Examples
EXAMPLE 1
Add-BenchmarkOperation -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-BenchmarkOperation -Name <String> -ScriptBlock <ScriptBlock> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Name String
- Operation name.
- ScriptBlock ScriptBlock
- Operation body.