Get-VsanFileServiceDomain

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
optional
Cluster
Cluster[] named
  • wildcards
  • pipeline
  • Specifies the vSAN cluster to which the file service domain belongs.
    optional
    Name
    String[] named
  • wildcards
  • Filters the retrieved vSAN file service domains by name.
    optional
    Server
    VIServer[] named
  • wildcards
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.

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

    Parameters

    Required Parameter Name Type Position Features Description
    required
    Id
    String[] named Filters the retrieved vSAN file service domains by ID.
    optional
    Server
    VIServer[] named
  • wildcards
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.

    Output

    VMware.VimAutomation.Storage.Types.V1.Vsan.FileService.VsanFileServiceDomain

    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.

    Related Commands

    Feedback

    Was this page helpful?