< Back

Test-VsanVMCreation

Sun Jan 19, 2020 7:22 pm

NAME Test-VsanVMCreation



SYNOPSIS

This cmdlet runs a virtual machine creation test on the specified vSAN clusters and returns the test results.





SYNTAX

Test-VsanVMCreation [-Cluster] <Cluster[]> [-Server <VIServer[]>] [-TimeoutSeconds <Int32>] [-UseCache]

[<CommonParameters>]





DESCRIPTION

This cmdlet runs a virtual machine creation test on the specified vSAN clusters and returns the test results.





PARAMETERS

-Cluster <Cluster[]>

Specifies the clusters on which you want to run a vSAN virtual machine creation test.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-Server <VIServer[]>

Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this

parameter, the command runs on the default servers. For more information about default servers, see the

description of Connect-VIServer.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-TimeoutSeconds <Int32>

Specifies the timeout for the virtual machine creation test in seconds. The default value is 120 seconds.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-UseCache [<SwitchParameter>]

Indicates whether to get a cached result from the server. If specified, a test is not run on the server and

the last result cached on the server side is returned. If not specified, a test is run on the server side and

the result is returned.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

VsanClusterVMCreationTestResult objects representing the result of the test run







NOTES









-------------------------- Example 1 --------------------------



Test-VsanVMCreation -Cluster $cluster -TimeoutSeconds 150



Runs the virtual machine creation test with a timeout of 150 seconds on the $cluster vSAN cluster and returns the

result of the test.

-------------------------- Example 2 --------------------------



Test-VsanVMCreation -Cluster $cluster -UseCache



Gets the result of the last virtual machine creation test run on the $cluster vSAN cluster.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... ation.html