Remove-VDisk

This cmdlet removes VDisk objects and the associated backings from the datastore. Removal of VDisk objects which are attached to a virtual machine is not allowed.

Syntax

-VDisk  <VDisk[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VDisk
VDisk[] named
  • pipeline
  • Specifies the VDisk objects you want to remove.

    Output

    Examples


    Example 1

    Remove-VDisk -VDisk $vDisk

    Removes the $vDisk VDisk object from the server and datastore.

    Related Commands

    Feedback

    Was this page helpful?