CmdID / PowerShell / Cmdlets / Invoke
Invoke-OperationValidation
Invokes Operation Validation Framework tests. PowerShell reference
From the PowerShell reference 7 parameters
What it does
Invokes Operation Validation Framework tests. The Invoke-OperationValidation cmdlet invokes Operation Validation Framework tests for a specified module.
Invoke-OperationValidation [-TestInfo <PSObject[]>] [-IncludePesterOutput] [-WhatIf] [-Confirm] [<CommonParameters>]Invoke-OperationValidation [-testFilePath <String[]>] [-IncludePesterOutput] [-WhatIf] [-Confirm] [<CommonParameters>]Invoke-OperationValidation [-ModuleName <String[]>] [-TestType <String[]>] [-IncludePesterOutput] [-WhatIf] [-Confirm] [<CommonParameters>]
Invoke an Operation Validation test
Get-OperationValidation -ModuleName "OperationValidation" | Invoke-OperationValidation -IncludePesterOutputIdentifyIts page in the reference: Invoke-OperationValidation.
Parameters
-IncludePesterOutputIncludes Pester test output. The default is $false.-ModuleNameSpecifies an array of names of modules.-testFilePathSpecifies the path of an Operation Validation Framework test file.-TestInfoSpecifies a custom object that specifies the path to the file and the name of the test to run.-TestTypeSpecifies an array of test types. Valid values are:
- Simple
- Comprehensive
The default is Simple,Comprehensive.-ConfirmPrompts you for confirmation before running the cmdlet.-WhatIfShows what would happen if the cmdlet runs. The cmdlet is not run.