Syntax
Get-VsanFileShare [[-Name] <String[]>] [-Cluster <Cluster[]>] [-FileServiceDomain <VsanFileServiceDomain[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet retrieves vSAN file shares based on the name or ID filter.Parameters
Return Type
Zero or more vSAN file share objects.Notes
Examples
-------------------------- Example 1 --------------------------
Get-VsanFileShare -FileServiceDomain $fileServiceDomain
Retrieves the vSAN file share which belongs to the $fileServiceDomain file service domain.
-------------------------- Example 2 --------------------------
Get-VsanFileShare -Cluster $cluster -Name "FileShare1"
Retrieves the vSAN file share named "FileShare1" from the $cluster vSAN cluster.