With PowerCLI, you can create a vSAN file share.

Prerequisites

  • Verify that you are connected to a vCenter Server system.

  • Verify that the vSAN file service is enabled.
  • Verify that the vSAN file service domain is created.

Procedure

  1. Get a vSAN file service domain.
    $domain = Get-VsanFileServiceDomain -Name “MyFileServiceDomain”
  2. Create a vSAN file share.
    New-vsanfileshare -FileServiceDomain $domain -Name "MyVsanFileShare"