Hi,
I would like to create a virtual machine and then get the serial number of that VM using PowerShell,
The best i seem to be able to find is using a WMI query using this code
Get-WmiObject-ComputerName MyVMName -Namespace `
root\virtualization\v2 -class Msvm_VirtualSystemSettingData `|select elementname, BIOSSerialNumberThe code is dated probably before hyper-v has a powershell module, i was wondering if anyone knew of a powershell command to get this information rather than WMI?
Thanks
Steve