Posted in
Virtual Machine Manager,
Windows Powershell |
No Comment | 5,117 views | 19/02/2014 18:21
You can use following script to get VMs with Passthrough Disks on SCVMM 2012 R2.
$VMs = Get-VM | Where HasPassthroughDisk |
$VMs = Get-VM | Where HasPassthroughDisk
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 :)