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: Hyper-V