email

Thursday, August 20, 2009

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

No comments:

Post a Comment