Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: How to install PowerShell on Windows
ms.date: 03/18/2026
ms.date: 03/30/2026
title: Install PowerShell 7 on Windows
---
# Install PowerShell 7 on Windows
Expand Down Expand Up @@ -32,7 +32,9 @@ different scenarios and workflows. Choose the method that best suits your needs.
<a id="winget"></a>WinGet, the Windows Package Manager, is a command-line tool that enables you to
discover, install, upgrade, remove, and configure applications on Windows client computers. This
tool is the client interface to the Windows Package Manager service. The `winget` command-line tool
is included in Windows 11 and Windows Server 2025 as part of the **App Installer**.
is included in Windows 11 and Windows Server 2025 as part of the **App Installer**. The `winget`
command can be run from any command shell, including the Windows Command shell (`cmd.exe`), Windows
PowerShell (`powershell.exe`), or PowerShell (`pwsh.exe`).

> [!NOTE]
> See the [winget documentation][07] for a list of system requirements and install instructions.
Expand Down
17 changes: 5 additions & 12 deletions reference/includes/latest-install.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
---
author: sdwheeler
ms.author: sewhee
ms.date: 06/19/2025
ms.date: 03/30/2026
ms.topic: include
---
<!-- markdownlint-disable first-line-h1 -->
> [!NOTE]
> The installation commands in this article are for the latest stable release of PowerShell. To
> install a different version of PowerShell, adjust the command to match the version you need. The
> following links direct you to the latest release page for each version on GitHub.
>
> - Stable release v7.5._x_: [https://aka.ms/powershell-release?tag=stable][03]
> - LTS release v7.4._x_: [https://aka.ms/powershell-release?tag=lts][01]
> - Preview release v7.6.0-preview._x_: [https://aka.ms/powershell-release?tag=preview][02]
>
> Download links for every package are found in the **Assets** section of the Release page. The
> install a different version of PowerShell, adjust the command to match the version you need. Open
> the [Release tags page][01] on GitHub. Select the tag for the release version you want to install.
> The download links for every package are found in the **Assets** section of the release. The
> **Assets** section may be collapsed, so you may need to click to expand it.

<!-- link references -->
[01]: https://aka.ms/powershell-release?tag=lts
[02]: https://aka.ms/powershell-release?tag=preview
[03]: https://aka.ms/powershell-release?tag=stable
[01]: https://github.com/PowerShell/PowerShell/tags
15 changes: 6 additions & 9 deletions reference/includes/windows-support.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
---
author: sdwheeler
ms.author: sewhee
ms.date: 03/06/2026
ms.date: 03/30/2026
ms.topic: include
---
<!-- markdownlint-disable first-line-h1 -->
Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of
[Windows reaches end-of-support][eol-windows].

The Docker images for the .NET SDK contain the latest versions of PowerShell. These images are
available from the [Microsoft Artifact Registry][mcr].

These images may not have the latest security updates. Microsoft recommends that you update the OS
packages to the latest version to ensure the latest security updates are applied.

These images are provided for testing purposes. If you need a Docker image for a production
workload, you should build and maintain your own.
available from the [Microsoft Artifact Registry][mcr]. These images may not have the latest security
updates. Microsoft recommends that you update the OS packages to the latest version to ensure the
latest security updates are applied. These images are provided for testing purposes. If you need a
Docker image for a production workload, you should build and maintain your own image.

> [!NOTE]
> Support for a specific version of Windows is determined by the Microsoft Support Lifecycle
Expand All @@ -28,4 +25,4 @@ workload, you should build and maintain your own.
[eol-windows]: /lifecycle/products/?terms=Windows%20Server&products=windows
[client-faq]: /lifecycle/faq/windows
[modern]: /lifecycle/policies/modern
[mcr]: https://mcr.microsoft.com/product/powershell/tags
[mcr]: https://mcr.microsoft.com/artifact/mar/dotnet/sdk/tags