Share via


Test-ExceptionHandling

Tests exception handling.

Syntax

Default (Default)

Test-ExceptionHandling
    [-VMMServer <ServerConnection>]
    [-ThrowAtWCFLayer]
    [-ThrowAtInitialize]
    [<CommonParameters>]

Description

The Test-ExceptionHandling cmdlet tests exception handling in Virtual Machine Manager (VMM).

Parameters

-ThrowAtInitialize

The Test-ExceptionHandling cmdlet tests exception handling in Virtual Machine Manager (VMM).

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ThrowAtWCFLayer

The Test-ExceptionHandling cmdlet tests exception handling in Virtual Machine Manager (VMM).

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

Specifies a VMM server object.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.