search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Getting VMs with Passthrough disks and vHBA on Hyper-V Cluster with PowerShell
Posted in Windows Powershell, Windows Server | No Comment | 2,012 views | 27/09/2013 15:50

You can get VMs with Passthrough disks and vHBA on Hyper-V Cluster via this PowerShell script:

Get-Cluster | Get-ClusterNode | % {Get-VM -ComputerName $_.Name | Where {(($_ | Select -Expand HardDrives).Path -like "Disk*") -or (($_ | Select -expand FibreChannelHostBusAdapters) -ne $Null)}}

You should run your PowerShell as Administrator.



Leave a Reply