Setup: Hyper-V host with VMs

Problem: You need a list with all VMs and their GUID

Solution:

Get-WmiObject -Namespace root\virtualization -class msvm_computersystem | select elementname, name| ft -auto
Tagged:

Leave a Reply

Your email address will not be published. Required fields are marked *