Install PowerShell 5: Unlock Hidden Features Today

Discover the enhanced capabilities of PowerShell 5 by installing this powerful version. In this article, we guide you through the step-by-step process of how to install PowerShell 5 and unlock its advanced features and improvements. Upgrade your scripting game and harness the full potential of PowerShell.

Requirements to Install PowerShell 5

To update to PowerShell version 5.1, you need to meet the following requirements:

  1. Operating System: PowerShell 5.1 is supported on the following operating systems – Windows 7 SP1, Windows Server 2008 R2 SP1, Windows 8.1, Windows Server 2012 R2, Windows 10, Windows Server 2016, Windows Server 2019Ensure that your operating system matches one of the above versions.
  2. Windows Updates: Make sure your operating system is up to date with the latest Windows updates. PowerShell 5.1 is often distributed through Windows Update, so it’s recommended to have all the available updates installed.
  3. System Architecture: Download the appropriate installer package based on your system architecture (32-bit or 64-bit). Check the system properties or consult with your system administrator to determine whether you have a 32-bit or 64-bit operating system.
  4. Administrative Privileges: You need administrative privileges on your computer to install PowerShell updates. Ensure that you have the necessary permissions to perform the installation or consult with your system administrator.

By meeting these requirements, you should be able to update to PowerShell version 5.1 successfully.

Steps to Update the PowerShell Version 

  1. Checking the Windows Properties
  2. Installing the PowerShell Update

Updating the PowerShell Version to 5.1

Checking the Windows Properties

To check the Windows properties and determine the installed version of PowerShell 5.1, you can follow these steps:

  • Press the Windows key + R on your keyboard to open the Run dialog box.
  • Type “sysdm.cpl” in the Run dialog box and press Enter. This will open the System Properties window.
image 167
  • In the System Properties window, click on the “Advanced” tab.
image 168
  • Click on the “Environment Variables” button. This will open the Environment Variables window.
  • In the Environment Variables window, scroll down under the “System variables” section and look for the “Path” variable.
image 169
  • Select the “Path” variable and click on the “Edit” button.
  • In the Edit Environment Variable window, look for the path that contains “WindowsPowerShell\v1.0”. This path indicates the installation directory for PowerShell.
  • If the path includes “WindowsPowerShell\v1.0”, it means that PowerShell version 5.1 is installed on your system. If not, you may need to install it separately.

Alternatively, you can also open a PowerShell session and check the version directly by running the following command:

image 170

This will display the PowerShell version information, including the major and minor version numbers. If the major version is 5 and the minor version is 1 (e.g., 5.1), then PowerShell 5.1 is installed on your system.

Installing the PowerShell Update

  • Visit the Microsoft Download Center website and search for “Windows Management Framework 5.1”.
  • Download the appropriate installer package for your operating system. Make sure to choose the correct package based on your Windows version (e.g., Windows 7, Windows 8.1, Windows 10, etc.) and system architecture (32-bit or 64-bit).
  • Once the installer package is downloaded, run it and follow the on-screen instructions to complete the installation. You may need to restart your computer after the installation is finished.
  • After restarting your computer, open a new PowerShell session and run the following command to verify that PowerShell has been updated to version 5.1:
Installing the PowerShell Update - Install PowerShell 5

If the output shows the major version as 5 and the minor version as 1 (e.g., 5.1), then you have successfully updated PowerShell to version 5.1.

Note: Updating PowerShell may require administrative privileges on your computer. Ensure that you have the necessary permissions or consult with your system administrator if needed.

By installing PowerShell 5, you’ve taken a leap forward in your scripting journey. Embrace the new features and enhancements that PowerShell 5 brings to the table, empowering you to write more efficient and robust scripts. Boost your productivity and tap into the full power of PowerShell with this essential upgrade.

Meet the Author

Abdul Rahim has been working in Information Technology for over two decades. Learn how Abdul got his start as a Tech Blogger , and why he decided to start this Software blog. If you want to send Abdul a quick message, then visit his contact page here.