Find parent Hyper-V host information from VM

CMD

reg query "HKLM\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters"

 

PowerShell

Get-Item "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters"

 

Additional

if the VM does not show the correct parent Hyper-V host info, restarting the VM will fix it.

创建时间:9/8/2022 5:18:01 PM 修改时间:9/9/2022 10:37:01 AM