Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Install or Upgrade PowerShell 5.1 on Windows 7

February 16, 2025
in Blog, Powershell, Windows 7
2
ADVERTISEMENT

Table of Contents

Upgrade PowerShell 2.0 to 5.1

You can update to PowerShell 5.1 on Windows 7, and in fact it’s recommended to do so to add suspicious-script block-logging that is not in the PowerShell shipped on Windows 7.

WMF availability across Windows operating systems:

8UcZMgUk6YxlNJ3Ex8xSr2DsTJSmLHk66gyWYx2g2mgzTWdltL3WVQbbE4Vr

To check the current version of the installed Windows PowerShell. Let’s open PowerShell as administrator and run the following command:

$PSversiontable
PS C:\Users\bonguides> $PSversiontable

Name                           Value
----                           -----
CLRVersion                     2.0.50727.8964
BuildVersion                   6.1.7601.17514
PSVersion                      2.0
WSManStackVersion              2.0
PSCompatibleVersions           {1.0, 2.0}
SerializationVersion           1.1.0.1
PSRemotingProtocolVersion      2.1

To install PowerShell 5.1 on Windows 7, there are a few mandatory prerequisites:

Before you begin, make sure you’re using Windows 7 Service Pack 1.

hhYsFf4fUUD6qHUopUBItNlKauMeB33dFs2QXgypTExoYKIM8F9NukgR4nuv

1. Download then install .NET Framework 4.5 on Windows 7: Microsoft Download Center | OneDrive. If it’s been installed. You can skip this step and move to the next one.

E3NsrhqI6rQxi8HYlbbnxfiL1e1wAUNMA0PW9wgmcb7SN5qShgi5QmDgyVzm

2. Download and install Windows Management Framework 4.0. After the computer restarted, this time if you check the version of PowerShell. It should be 4.0 like below.

PS C:\Users\bonben365> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           1.1.0.1
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.16406
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

3. With the first two steps done, you can install Windows Management Framework 5.1. Once this is in place, you can use the abilities of PowerShell 5 on Windows 7 and turn on the enhanced logging that 5 provides.

Download links for Windows Management Framework 5.1: Microsoft Download Center | OneDrive

Z1ETJUGWpOzJI5uiJZKySzSCQouLMPh8ikTAd5qjRO0VmBCsyiTd5qWoW4fk

You may ask to restart your computer. Once the computer restarted, let’s open PowerShell as administrator then run the command $PSVersionTable to verify it works.

PS C:\Users\bonguides> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14409.1005
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1005
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

Cannot Access the File Because Another Process Locked The File in VMware

Next Post

How to Delete Azure Resource Groups Using PowerShell

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Comments 2

  1. Joey Jackson says:
    3 months ago

    The link to download Windows Management Framework 4.0 (https://bonguides610-my.sharepoint.com/:f:/g/personal/admin_bonguides610_onmicrosoft_com/Eq-UK4ZQzA5AtOZFmdfAcesBR7tI_zQwxX-MgLok14Z5vA?e=tQgibj) goes to an empty folder

    Reply
    • bon says:
      3 months ago

      Updated.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory