Test-VsanNetworkPerformance
This cmdlet runs a network performance test on the specified vSAN clusters and returns the test results.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Cluster | Cluster[] | named |
|
Specifies the clusters on which you want to run a vSAN network performance test. |
optional | DurationInSecond | Int32 | named |
|
The duration of network performance test in seconds. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. |
optional | UseCache | SwitchParameter | named |
|
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. |
Output
VMware.VimAutomation.Storage.Types.V1.Vsan.VsanNetworkPerformanceTestResultExamples
Example 1
Test-VsanNetworkPerformance -Cluster $cluster
Runs the network performance test on the $cluster vSAN cluster and returns the result of the test.
Example 2
Test-VsanNetworkPerformance -Cluster $cluster -UseCache
Gets the result of the last network performance test run on the $cluster vSAN cluster.
Example 3
Test-VsanNetworkPerformance -Cluster $cluster -DurationInSecond 10
Runs the network performance test on the $cluster vSAN cluster for 10 seconds and returns the result of the test.
Related Commands
VsanNetworkPerformance
This cmdlet runs a network performance test on the specified vSAN clusters and returns the test results.