Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » Upgrade PowerShell Core Windows or Mac and Linux System
  • image 38
    How to Fix “Unknown hard error” on Windows Server and Windows 10 Windows
  • Windows Server 2016 1 1
    Merits and demerits of Local System Account and Service Logon Account Windows Server
  • PRIVATE DOCKER REGISTRY
    How to Set up Private Docker Registry Containers
  • shrink and create partition
    How to shrink and create new partition on Windows Server Windows Server
  • RDlicensePerUser
    RDS client access licenses: How to install a new Per User Remote Desktop Services license Windows Server
  • windows 10 logo 100739284 large
    Application pool has been disabled or Changing identity user for IIS Application Pool (Event ID 5059) Web Server
  • install WSL on Windows
    How to install WSL on Windows Network | Monitoring
  • Certificate does not contain the private key
    Server Certificate could not be updated: Private key does not match Windows Server

Upgrade PowerShell Core Windows or Mac and Linux System

Posted on 02/01/202605/01/2026 Christian By Christian No Comments on Upgrade PowerShell Core Windows or Mac and Linux System
update powershell in Windows

In this article, we shall discuss the steps to upgrade PowerShell Core Windows or Mac and Linux System. Microsoft officially stopped adding new features to “Windows PowerShell” (version 5.1) as it recieves security and bug fixes only. It is considered “feature complete” and is tied strictly to the Windows operating system as it is built on .NET Framework (Windows-only). Please, see Install Applications with Winget CLI on Windows, and Install and Manage Applications with Winget.

On the other hand, PowerShell 7 (also known as PowerShell Core) is cross platform and built on a different engine called .NET Core and runs on Windows, Linux, and macOS

Note: Updating to PowerShell 7.x (Core) does not replace your existing Windows PowerShell 5.1. They can co-exist with Windows PowerShell located at powershell.exe, and the new PowerShell 7 is at pwsh.exe.

See the image below for the difference.

PowerShell 7 and Windows PowerShell

Also, see How to install Winget CLI on Windows, how to install Winget CLI on Windows, and how to Install Winget on Windows Server.

Update PowerShell to v7.5.4 on Windows

You can update PowerShell by using winget on Windows to install the latest version from the Windows Package Manager repository. Winget, the client interface of the Windows Package Manager, is a powerful command-line tool built into Windows OS that can install and update PowerShell

To update PowerShell on a Windows system (Windows 11, or Windows Server as it is in my case). The most efficient way is using the built-in Windows Package Manager (winget). Open your existing PowerShell window as an Administrator and run the command below.

winget upgrade --id Microsoft.PowerShell
Upgrade Powerhseöö

As you can see below, the update is in progress

Winget upgrade

Download of the current version is in progress.

Package installation progress

As you can see below, the upgrade of PowerShell to v7.5.4 is complete.

uügrade complete

Alternatively, you could search for “PowerShell” in the Microsoft Store app and click Update. You could also download the .msi from the official PowerShell GitHub.

Please, see how to keep Apps up to date on Windows devices, how to create a two-way Active Directory Trust, and how to create a new Azure SQL Database [PaaS].

Check PowersShell version

To determine the current version of PowerShell Core, please use the command below.

$PSVersionTable.PSVersion
PowerShell version

Update PowerShell on Mac

On MacOS, to determine the PowerShell version, please run the comamnd below.

pwsh --version
Poershell version Mac

On a Mac, the industry standard is to use Homebrew. You cannot “update” PowerShell by running an installer again. You should update your entire package list.

brew update
brew upgrade --cask powershell
brew update

Now, upgrade PowerShell

upgradig powershell core on mac

When prompted to enter password, enter and when complete. Please, verify PowerShell version

Enter password and verify version

Please, see Preliminary Guide for WSUS Analysis and Initial Assessment, DMA Compatibility Mode: Prepare and Migrate Safely, and Preliminary Guide for Active Directory and Initial Assessment.

Update PowerShell on Linux

Linux handles PowerShell updates just like OS security patches. You register Microsoft’s repository once, and then your standard system update command handles the rest. In this article, I will be focusing on Ubuntu/Debian.

sudo apt-get update
sudo apt-get install --only-upgrade powershell

I hope you found this article o how to Upgrade PowerShell Core Windows or Mac and Linux System very useful. Please, feel free to leave a comment below.

5/5 - (2 votes)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:Check PowersShell version, Microsoft Windows, PowerShell, PowerShell Cmdlet, PowerShell version 7, Update PowerShell on Linux, Update PowerShell on Mac, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

Post navigation

Previous Post: How to create a two-way Active Directory Trust
Next Post: Upgrade Path and In-Place Upgrade for VBR v13 and Known Fixes

Related Posts

  • Featured image Audioissue
    How to Fix Audio Services Not Responding on Windows 10 and 11 Windows
  • adfs
    Install and configure Active Directory Federation Service (ADFS) Windows Server
  • Microsoft Enterprise Root Certification Authority and Forest Domain to Azure migration
    Migrate Microsoft Enterprise Root Certification Authority and Forest Domain to Azure AWS/Azure/OpenShift
  • How to Fix Application Error (0xc0000135) in Windows
    Fix the application was unable to start correctly (0xc0000135) error Windows
  • DEvolusion RDP Manager
    How to set up Devolusion Remote Desktop Manager on Windows Windows
  • Featured image 1
    How and where to find your BitLocker recovery key on Windows Security | Vulnerability Scans and Assessment

More Related Articles

Featured image Audioissue How to Fix Audio Services Not Responding on Windows 10 and 11 Windows
adfs Install and configure Active Directory Federation Service (ADFS) Windows Server
Microsoft Enterprise Root Certification Authority and Forest Domain to Azure migration Migrate Microsoft Enterprise Root Certification Authority and Forest Domain to Azure AWS/Azure/OpenShift
How to Fix Application Error (0xc0000135) in Windows Fix the application was unable to start correctly (0xc0000135) error Windows
DEvolusion RDP Manager How to set up Devolusion Remote Desktop Manager on Windows Windows
Featured image 1 How and where to find your BitLocker recovery key on Windows Security | Vulnerability Scans and Assessment

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • image 38
    How to Fix “Unknown hard error” on Windows Server and Windows 10 Windows
  • Windows Server 2016 1 1
    Merits and demerits of Local System Account and Service Logon Account Windows Server
  • PRIVATE DOCKER REGISTRY
    How to Set up Private Docker Registry Containers
  • shrink and create partition
    How to shrink and create new partition on Windows Server Windows Server
  • RDlicensePerUser
    RDS client access licenses: How to install a new Per User Remote Desktop Services license Windows Server
  • windows 10 logo 100739284 large
    Application pool has been disabled or Changing identity user for IIS Application Pool (Event ID 5059) Web Server
  • install WSL on Windows
    How to install WSL on Windows Network | Monitoring
  • Certificate does not contain the private key
    Server Certificate could not be updated: Private key does not match Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,827 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.