< Back

Test-VsanNetworkPerformance

Sun Jan 19, 2020 7:22 pm

NAME 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[]> [-DurationInSecond <Int32>] [-Server <VIServer[]>] [-UseCache]

[<CommonParameters>]





DESCRIPTION

This cmdlet runs a network performance 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 network performance test.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-DurationInSecond <Int32>

The duration of network performance test in seconds.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-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



-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

VsanClusterNetworkPerformanceTestResult objects representing the result of the test run







NOTES









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

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