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) Facebook Click to share on Tumblr (Opens in new window) Tumblr Click to share on LinkedIn (Opens in new window) LinkedIn Click to share on Reddit (Opens in new window) Reddit Click to print (Opens in new window) Print Click to share on X (Opens in new window) X Click to email a link to a friend (Opens in new window) Email Click to share on Pinterest (Opens in new window) Pinterest Like Loading... Related