New-VsanFileShareSnapshot

This cmdlet creates a vSAN file share snapshot for the specified vSAN file share.

Syntax

-FileShare  <VsanFileShare>
-Name  <String>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
FileShare
VsanFileShare named
  • pipeline
  • Specifies the vSAN file share for which to create the vSAN file share snapshot.
    required
    Name
    String named Specifies the name of the vSAN file share snapshot.
    optional
    Server
    VIServer[] named 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.VsanFileShare

    Examples


    Example 1

    New-VsanFileShareSnapshot -Name "FileShareSnapshot1" -FileShare $fileShare

    Creates a vSAN file share snapshot named "FileShareSnapshot1" for the $fileShare file share.

    Related Commands

    Feedback

    Was this page helpful?