Get VM Host Name
(get-item "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters").GetValue("HostName") From < https://teams.microsoft.com/_#/conversations/19:100f4858-a4c3-4eef-a5de-840f5918f322_c86e6f5a-fa63-40a3-88ba-b06dd1f15d39@unq.gbl.spaces?ctx=c...