Finding Operating System Architecture Information

by Oct 11, 2016

Here is a one-liner that retrieves information about your operating system:

Get-WmiObject -Class Win32_OperatingSystem | Select-Object -Property *OS*

The result would look similar to this:

ForegroundApplicationBoost : 2
OSArchitecture             : 64-bit
OSLanguage                 : 1031
OSProductSuite             : 256
OSType                     : 18

If you wonder what those numbers represent, go to an Internet search site of your choice, and search for Win32_OperatingSystem. One of the first links directs you to MSDN documentation.

And if you’d like to retrieve the information from a remote system, use the -ComputerName and –Credential parameters.

Twitter This Tip! ReTweet this Tip!