Findout Operating System of Remote Machine using PowerShell
Below piece of code helps you.
PS C:>Get-WmiObject -Computer MyRemoteHost Win32_OperatingSystem | select CSname, Caption, CSDVersion | fl
Categories: PowerShell
Below piece of code helps you.
PS C:>Get-WmiObject -Computer MyRemoteHost Win32_OperatingSystem | select CSname, Caption, CSDVersion | fl