Quantcast
Channel: Windows Server – Yusuf Ozturk
Viewing all articles
Browse latest Browse all 127

How to get list of virtual machines with passthrough disks via PowerShell

$
0
0
In this sample script, I use SCVMM 2012 to get virtual machine list. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 $Servers = Get-Content C:\Servers.txt foreach ($Server in $Servers) { $VMInfo = Get-VM $Server $VMHost = $VMInfo.VMHost $VMHostName = [...]

Viewing all articles
Browse latest Browse all 127

Latest Images

Trending Articles