New-VsanDisk

This cmdlet adds a host SCSI disk to a vSAN disk group.

Syntax

-CanonicalName  <String>
-VsanDiskGroup  <VsanDiskGroup>
[-RunAsync]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
CanonicalName
String named Specifies the canonical name of the host SCSI disk that is added to the group.
required
VsanDiskGroup
VsanDiskGroup named
  • pipeline
  • Specifies the disk group that the disk is added to.
    optional
    RunAsync
    SwitchParameter named Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter run "help About_RunAsync" in the VMware PowerCLI console.

    Output

    VMware.VimAutomation.Storage.Types.V1.Vsan.VsanDisk

    Examples


    Example 1

    New-VsanDisk -CanonicalName "DiskCanonicalName" -VsanDiskGroup $vsanDiskGroup

    Creates a new vSAN disk and adds the disk to the $vsanDiskGroup vSAN disk group.

    Related Commands

    Feedback

    Was this page helpful?