gateguard
asked on
How to list all VHD drives on a Hyper-V node and on a Hyper-V cluster
Server2012r2 cluster with 2 nodes and multiple VMs
Some of the VMs are not clustered.
I would like to use powershell to list the VHD locations of all the VMs, by node and by cluster.
Thanks.
Some of the VMs are not clustered.
I would like to use powershell to list the VHD locations of all the VMs, by node and by cluster.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The actual command turns out to be: get-vmharddisdrive * | format-list > hardrivelist.txt
But who's counting? :)
(the format-list is needed if you actually want to be able to see the results and sending it to a file so they don't all just scroll right past)
But who's counting? :)
(the format-list is needed if you actually want to be able to see the results and sending it to a file so they don't all just scroll right past)
Thanks for the points. :)
ASKER
no problem.
ASKER