Below piece of code helps you.
PS C:\>Get-WmiObject -Computer MyRemoteHost Win32_OperatingSystem | select CSname, Caption, CSDVersion | fl
No comments:
Post a Comment