Syntax
Get-VDisk [[-Name] <String[]>] [-Datastore <Datastore[]>] [-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'.