With
Get-WmiObject Win32_OperatingSystem -Computer $vm.Name
you can get the class with the OS info.
Which properties do you want to include ?
With
Get-WmiObject Win32_OperatingSystem -Computer $vm.Name
you can get the class with the OS info.
Which properties do you want to include ?