Older versions of PowerShell might lack some functionalities or bug fixes available in the newer releases. This tutorial will guide you through the steps needed to update PowerShell on your Windows 10 device to get the most recent version installed and running.
Step 1: Check the current version of the PowerShell
Before updating PowerShell, you should first check the current version installed on your system. To do this, open PowerShell by typing “PowerShell” in the Start menu search and selecting “Windows PowerShell”. Once it’s open, run the following command:
1 |
Get-Host | Select-Object Version |
You will be presented with the version number of your currently installed PowerShell.
Step 2: Download the latest version of PowerShell
Navigate to the official PowerShell GitHub release page and download the appropriate Windows 10 installer for your system:
- For 64-bit systems, download the “PowerShell-*-win-x64.msi” file.
- For 32-bit systems, download the “PowerShell-*-win-x86.msi” file.
Make sure to replace the asterisk (*) with the latest version number.
Step 3: Install the latest version of PowerShell
Close any open PowerShell windows before proceeding. Locate the downloaded installer, double-click it, and follow the installation wizard’s instructions. After the installation is complete, you should have the latest PowerShell version installed on your system.
Step 4: Verify the installed version
Now that you’ve updated PowerShell, open it again and run the same command from Step 1 to verify the installed version:
1 |
Get-Host | Select-Object Version |
You should now see the updated version number of PowerShell.
For me:
Code
1 |
Get-Host | Select-Object Version |
Conclusion
Updating PowerShell on your Windows 10 system is a straightforward process that will provide you with access to new features, enhancements, and bug fixes. Always keep your PowerShell version up-to-date to ensure optimal performance and compatibility with the latest advancements in technology.
With the most recent PowerShell version installed, you are now ready to take advantage of its powerful scripting and automation capabilities.