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