Syntax
Get-VDisk [-Datastore <Datastore[]>] [[-Name] <String[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet lists VDisk objects based on the specified filters.Parameters
Return Type
Zero or more VDisk objectsNotes
Examples
-------------- Example 1 --------------
Get-VDisk -Name 'MyDisk' -Datastore $ds
Retrieves the VDisk objects named 'MyDisk' from the $ds datastore.
-------------- Example 2 --------------
Get-VDisk -Id 'VDiskId'
Retrieves the VDisk with Id 'VDiskId'.