Advertisements
Advertisements

I want to find out what version of Windows my computer is running by retrieving the information from PowerShell. Is it possible to use PowerShell to find out what version of Windows my PC runs?

The following tutorial demonstrates how to get the Windows version/operating system version from PowerShell.

At times, it can be important to know your computer’s operating system version. This is most often due to the fact that features change between versions. Additionally, some programs require certain operating system versions to be installed as a minimum requirement. With Windows, there are several ways to find out the OS version. In Windows 11, the easiest for most is via the Settings app by navigating to Start > Settings > System About > Windows specifications. However, you can also peform this task from the command line.

How to Get Windows Version/OS Version in PowerShell

You can use a PowerShell command to get the Windows version/operating system version. Here is how to do that:

1. Open Windows PowerShell. See this tutorial for how to open Windows PowerShell in Windows 10 and 11: How to Open Windows PowerShell in Windows 10 [Tutorial].

2. Type systeminfo into the command line and press the Enter key on your keyboard to execute it.

3. Scroll up and check next to where it shows the OS Name to see the Windows version.

Terminal\PowerShell\systeminfo command

You can now close PowerShell if you like.

In conclusion, that is how to get the Windows operating system version in PowerShell.

Related Tutorials

Advertisements
Advertisements