PowerCLI Reference

Test-VsanNetworkPerformance

Synopsis

This cmdlet runs a network performance test on the specified vSAN clusters and returns the test results.

Syntax

Test-VsanNetworkPerformance [-Cluster] <Cluster[]> [-UseCache] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet runs a network performance test on the specified vSAN clusters and returns the test results.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ClusterCluster[]Specifies the clusters on which you want to run a vSAN network performance test.truetrue (ByValue)
ServerVIServer[]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.falsefalse
UseCacheSwitchParameterIndicates 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.falsefalse

Return Type

VsanClusterNetworkPerformanceTestResult objects representing the result of the test run

Notes

Examples

-------------- 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.


Copyright © VMware, Inc. All rights reserved.