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
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
VDisk | VDisk[] | named |
|
Specifies the VDisk objects you want to remove. |
optional | ProgressAction | ActionPreference | named |
|
Output
Examples
Example 1
Remove-VDisk -VDisk $vDisk
Removes the $vDisk VDisk object from the server and datastore.
Related Commands
VDisk
This cmdlet copies the specified VDisk objects to the specified datastore.
This cmdlet lists VDisk objects based on the specified filters.
This cmdlet moves the specified VDisk objects to the specified datastore.
This cmdlet creates a managed VDisk object whose lifecycle is independent of a virtual machine`s lifecycle on the specified datastore.
This cmdlet removes VDisk objects and the associated backings from the datastore.
This cmdlet renames, inflates, or extends the size of the specified VDisk object.