Posted in
Virtual Machine Manager,
Windows Powershell |
No Comment | 1,699 views | 19/02/2014 18:16
You can use following script to get VMs with vHBA on SCVMM 2012 R2.
$VMs = Get-VM | Where HasVirtualFibreChannelAdapters |
$VMs = Get-VM | Where HasVirtualFibreChannelAdapters
Then you can get virtual machine hardware information:
$VMs | ft Name,Status,CpuCount,Memory,TotalSize |
$VMs | ft Name,Status,CpuCount,Memory,TotalSize
You will see pretty good output :)