PowerCLI Reference

Get-VsanFileServiceDomain

Synopsis

This cmdlet retrieves vSAN file service domains in a vSAN cluster.

Syntax

Get-VsanFileServiceDomain [[-Name] <String[]>] [-Cluster <Cluster[]>] [-Server <VIServer[]>] [<CommonParameters>]

Get-VsanFileServiceDomain -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online Version
New-VsanFileServiceDomain
Remove-VsanFileServiceDomain
Set-VsanFileServiceDomain

Detailed Description

This cmdlet retrieves vSAN file service domains in a vSAN cluster.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Filters the retrieved vSAN file service domains by name.falseFalse
ClusterCluster[]Specifies the vSAN cluster to which the file service domain belongs.falseTrue (ByValue)
IdString[]Filters the retrieved vSAN file service domains by ID.trueFalse
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 the Connect-VIServer cmdlet.falseFalse

Return Type

Zero or more VsanFaultDomain objects

Notes

Examples

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

Get-VsanFileServiceDomain -Cluster $cluster

Retrieves the vSAN file service domain from the $cluster vSAN cluster.

-------------------------- Example 2 --------------------------

Get-VsanFileServiceDomain -Cluster $cluster -Name "MyDomain"

Retrieves the vSAN file service domain named "MyDomain" from the $cluster vSAN cluster.


Copyright © VMware, Inc. All rights reserved.