... and I got it:
Get-SCStorageDisk -VMHost my_host | Where-Object {$_.Name -eq "my_passthroughdisk"}
and this object has Capacity and Location property
... my_passthroughdisk coming from (Get-SCVirtualDiskDrive).PassThroughDisk
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Gurus,
I have to query all of our vm's virtual disk properties from SCVMM. Everything working properly with normal virtual disks via Get-SCVirtualDiskDrive and Get-SCVirtualHardDisk cmdlets, however I cannot find details for pass-through disk, because there is no VirtualHarDiskID property of that type of object.
I'm pretty sure those has to be in database, because I can find on console under VM hardware properties....
We manage both HyperV and VMWare host by SCVMM.
Would you please give me some light?
Thanks,
Laszlo
... and I got it:
Get-SCStorageDisk -VMHost my_host | Where-Object {$_.Name -eq "my_passthroughdisk"}
and this object has Capacity and Location property
... my_passthroughdisk coming from (Get-SCVirtualDiskDrive).PassThroughDisk
Does this work?
Get-VM -ComputerName <ClusterNode> | Get-VMHardDiskDrive | Where Path -like "Disk*"