PowerCLI Reference

Get-VsanSpaceUsage

Synopsis

This cmdlet retrieves space usage details of a vSAN cluster.

Syntax

Get-VsanSpaceUsage [[-Cluster] <Cluster[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves space usage details of a vSAN cluster.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ClusterCluster[]Specifies the vSAN clusters for which to retrieve space usage details.falsetrue (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

Return Type

Zero or more VsanSpaceUsage objects

Notes

Examples

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

Get-VsanSpaceUsage -Cluster $cluster

Retrieves space usage details of the $cluster vSAN cluster.


Copyright © VMware, Inc. All rights reserved.