Disk Independent info

Please use below comand to list the independent disk on virtual server

servername – please type ip or name

 

PowerCLI C:\> Get-HardDisk -VM servername | Select @{N=’VM’;E={$_.Parent.Name}},Name,@{N=’SCSIid’;E={$_.ExtensionData.UnitNumber}},@{N=’CapacityGB’;E={$_.CapacityGB}},@{N=’Persistence’;E={$_.Persistence}},@{N=’vmdk’;E={$_.Filename}} | format-table -autosize

 

You should see samething like

VM            Name         SCSIid CapacityGB           Persistence vmdk
—            —-         —— ———-           ———– —-
server1 Hard disk 1       0         50            Persistent [Datastore12] server1/server1.vmdk
server1 Hard disk 2       2        100            Persistent [Datastore12] server1/server1_1.vmdk
server1 Hard disk 3       1         16            Persistent [Datastore12] server1/server1_2.vmdk
server1 Hard disk 4       3        100            Persistent [Datastore12] server1/server1_3.vmdk
server1 Hard disk 5       4         16            Persistent [Datastore12] server1/server1_4.vmdk
server1 Hard disk 6       5         16            Persistent [Datastore12] server1/server1_5.vmdk
server1 Hard disk 7       6         16            Persistent [Datastore12] server1/server1_6.vmdk
server1 Hard disk 8       8        240           IndependentPersistent [Datastore12] server1/server1_7.vmdk
server1 Hard disk 9       9        240           IndependentPersistent [Datastore12] server1/server1_8.vmdk
server1 Hard disk 10     10        240          IndependentPersistent [Datastore12] server1/server1_9.vmdk
server1 Hard disk 11     11        240          IndependentPersistent [Datastore12] server1/server1_10.vmdk

 491 total views,  2 views today

Leave a Reply

Your email address will not be published. Required fields are marked *