title: Is there a way to get VMs Operating System name from Hyper-V using powershell?
body: <p>I'm writing a script on HYPER-V host for getting VMs guest informations. Is there a way to get VMs Operating System name from Hyper-V using powershell? </p>
  
  <p>There are several examples using <code>(Get-WmiObject Win32_OperatingSystem -ComputerName $vmName).name</code> but i should get this information directly from Hyper-V because of domain restrictions. </p>
  
  <p>Also i'm using hyper-v module of powershell but i couldn't see any cmdlets related to OS.</p>