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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Cluster | Cluster[] | Specifies the vSAN clusters for which to retrieve space usage details. | false | true (ByValue)
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. | false | false

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.