Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Upgrade PowerShell Core Windows or Mac and Linux System

Posted on 02/01/202620/05/2026 IT Expert By IT Expert No Comments on Upgrade PowerShell Core Windows or Mac and Linux System
  1. Home
  2. Windows
  3. 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. Here is a link for an alternative mothod for Installing and updating PowerShell version 7 on Windows and Linux.

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 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, Linux PowerShell Core upgrade steps, macOS PowerShell Core update, Microsoft Windows, PowerShell, PowerShell Cmdlet, PowerShell Core latest version install, PowerShell Core maintenance update, PowerShell Core update tutorial, PowerShell Core upgrade commands, PowerShell Core version upgrade, PowerShell version 7, update PowerShell, Update PowerShell on Linux, Update PowerShell on Mac, update pwsh Windows Mac Linux, upgrade PowerShell, upgrade PowerShell Core cross platform, upgrade PowerShell on Windows Mac Linux, upgrade pwsh on Windows, 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

  • mountedimagenotaccessible
    Unable to access the image: Make sure that the image path exist Windows
  • BitLocker
    BitLocker Drive Encryption architecture and implementation types on Windows Windows Server
  • FileNotFoundError Errno 2 No such file or directory
    Fix FileNotFoundError: [Errno 2] No such file or directory Scripts
  • PowerShell Exec
    Determine the execution policy configured on Windows PC Windows
  • NTUSER Files in Windows
    What Is the NTUSER.DAT File in Windows? Windows
  • Stop Automatic Driver Updates In Windows
    Prevent Automatic Driver Updates in Windows and Xen-Orchestra Virtualization

More Related Articles

mountedimagenotaccessible Unable to access the image: Make sure that the image path exist Windows
BitLocker BitLocker Drive Encryption architecture and implementation types on Windows Windows Server
FileNotFoundError Errno 2 No such file or directory Fix FileNotFoundError: [Errno 2] No such file or directory Scripts
PowerShell Exec Determine the execution policy configured on Windows PC Windows
NTUSER Files in Windows What Is the NTUSER.DAT File in Windows? Windows
Stop Automatic Driver Updates In Windows Prevent Automatic Driver Updates in Windows and Xen-Orchestra Virtualization

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

Veeam Vanguard

  • How to Activate Full-Screen (Kiosk Mode) in Internet Explorer Windows
  • create Microsoft 365 Account
    How to create Microsoft 365 Account Network | Monitoring
  • image 36
    Keepalive Settings: Understanding keepalive configuration Linux
  • MBAM roles
    Understanding Microsoft BitLocker Administration and Monitoring Roles Windows
  • Encryption
    How to encrypt Microsoft SQL Server Traffic Oracle/MSSQL/MySQL
  • microsoft ntlm2
    NT LAN Manager: How to prevent NTLM credentials from being sent to remote servers Security | Vulnerability Scans and Assessment
  • image 3
    How to Migrate Your WordPress Site with WordPress Duplicator Network | Monitoring
  • Error 1069 Windows could not start
    Fix Error 1069: Windows could not start the Veeam backup service on local computer Backup

Subscribe to Blog via Email

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

Join 1,801 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

Active Directory 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.