Get Hyper-V guest serial number with PowerShell

How to retrieve the Hyper-V virtual machine’s serial number with PowerShell? Sometimes you need to have the serial number of a Hyper-V virtual machine (VM, or guest). We, for instance, use this serial number in our automatic, unattended deployment of the guest operating system. But then you need to know how to find this serial …

Get Hyper-V guest serial number with PowerShell Read More »