Powershell Script to get the Operating System Infomrmation Leave a reply You can use the Win32_OperatingSystem class to get the Operating system info. $hostname = "Enter Computer Name" Get-WmiObject -class win32_operatingsystem -computer $hostname | select-object * Share this:Click to share on Facebook (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Reddit (Opens in new window)Click to print (Opens in new window)Click to share on Twitter (Opens in new window)Click to email this to a friend (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading... Related