Windows 10 comes with Windows PowerShell 5.0 out of the box. However, Windows Update should automatically update the version to PowerShell 5.1. This in itself is a great thing as it is always best to stay up to date with the latest version and that is the case with PowerShell as well. The new version of PowerShell includes many useful features.
Many users prefer to use PowerShell at the command prompt because it is easy to use, incorporates simpler language, and is designed to avoid common mistakes. So it would be smarter to upgrade to the latest version, especially if you have an older version of Windows. But, before upgrading to the latest version, you may want to find out the current version of PowerShell on your Windows 10 PC. Let's see how to check the same.
Solution: Using Windows Powershell
Step 1: press the Win + X keys together on the keyboard and select Windows Powershell (administrator) from the menu.
Step 2: Open the Windows PowerShell in elevated mode. Now copy the following command:
Step 3: Just right click and paste the code into the PowerShell window.
4 phase: You will paste the command as shown in Step 2. Hit Log in.
You can now see the version next to PSVersion.
That's all. You can quit Shell Power and if it is an older version, proceed with the update. If it's the latest version, you can keep using the best features.