Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Expand Up @@ -55,7 +55,7 @@ winget search Microsoft.PowerShell
```Output
Name Id Version Source
-----------------------------------------------------------------
PowerShell Microsoft.PowerShell 7.4.6.0 winget
PowerShell Microsoft.PowerShell 7.4.7.0 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.5.0.101 winget
```

Expand All @@ -79,9 +79,9 @@ winget install --id Microsoft.PowerShell.Preview --source winget
To install PowerShell on Windows, use the following links to download the install package from
GitHub.

- [PowerShell-7.4.6-win-x64.msi][28]
- [PowerShell-7.4.6-win-x86.msi][30]
- [PowerShell-7.4.6-win-arm64.msi][36]
- [PowerShell-7.4.7-win-x64.msi][28]
- [PowerShell-7.4.7-win-x86.msi][30]
- [PowerShell-7.4.7-win-arm64.msi][36]

Once downloaded, double-click the installer file and follow the prompts.

Expand Down Expand Up @@ -151,7 +151,7 @@ installation options:
The following example shows how to silently install PowerShell with all the install options enabled.

```powershell
msiexec.exe /package PowerShell-7.4.6-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
msiexec.exe /package PowerShell-7.4.7-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
```

For a full list of command-line options for `Msiexec.exe`, see
Expand All @@ -162,9 +162,9 @@ For a full list of command-line options for `Msiexec.exe`, see
PowerShell binary ZIP archives are provided to enable advanced deployment scenarios. Download one of
the following ZIP archives from the [current release][23] page.

- [PowerShell-7.4.6-win-x64.zip][29]
- [PowerShell-7.4.6-win-x86.zip][31]
- [PowerShell-7.4.6-win-arm64.zip][27]
- [PowerShell-7.4.7-win-x64.zip][29]
- [PowerShell-7.4.7-win-x86.zip][31]
- [PowerShell-7.4.7-win-arm64.zip][27]

Depending on how you download the file you may need to unblock the file using the `Unblock-File`
cmdlet. Unzip the contents to the location of your choice and run `pwsh.exe` from there. Unlike
Expand Down Expand Up @@ -261,7 +261,7 @@ If there is an available upgrade, the output indicates the latest available vers

> [!NOTE]
> When upgrading, PowerShell won't upgrade from an LTS version to a non-LTS version. It only
> upgrades to the latest version of LTS, for example, from 7.4.3 to 7.4.6. To upgrade from an
> upgrades to the latest version of LTS, for example, from 7.4.3 to 7.4.7. To upgrade from an
> LTS release to a newer stable version or the next LTS, you need to install the new version with
> the MSI for that release.
>
Expand All @@ -275,7 +275,7 @@ Windows 10 IoT Enterprise comes with Windows PowerShell, which we can use to dep
```powershell
# Replace the placeholder information for the following variables:
$deviceip = '<device ip address'
$zipfile = 'PowerShell-7.4.6-win-arm64.zip'
$zipfile = 'PowerShell-7.4.7-win-arm64.zip'
$downloadfolder = 'u:\users\administrator\Downloads' # The download location is local to the device.
# There should be enough space for the zip file and the unzipped contents.

Expand All @@ -288,10 +288,10 @@ Copy-Item $zipfile -Destination $downloadfolder -ToSession $S
#Connect to the device and expand the archive
Enter-PSSession $S
Set-Location u:\users\administrator\Downloads
Expand-Archive .\PowerShell-7.4.6-win-arm64.zip
Expand-Archive .\PowerShell-7.4.7-win-arm64.zip

# Set up remoting to PowerShell 7
Set-Location .\PowerShell-7.4.6-win-arm64
Set-Location .\PowerShell-7.4.7-win-arm64
# Be sure to use the -PowerShellHome parameter otherwise it tries to create a new
# endpoint with Windows PowerShell 5.1
.\Install-PowerShellRemoting.ps1 -PowerShellHome .
Expand All @@ -303,7 +303,7 @@ PowerShell has to restart WinRM. Now you can connect to PowerShell 7 endpoint on
```powershell

# Be sure to use the -Configuration parameter. If you omit it, you connect to Windows PowerShell 5.1
Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.4.6
Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.4.7
```

## Deploying on Windows 10 IoT Core
Expand Down Expand Up @@ -352,15 +352,15 @@ Deploy PowerShell to Nano Server using the following steps.
# Replace the placeholder information for the following variables:
$ipaddr = '<Nano Server IP address>'
$credential = Get-Credential # <An Administrator account on the system>
$zipfile = 'PowerShell-7.4.6-win-x64.zip'
$zipfile = 'PowerShell-7.4.7-win-x64.zip'
# Connect to the built-in instance of Windows PowerShell
$session = New-PSSession -ComputerName $ipaddr -Credential $credential
# Copy the file to the Nano Server instance
Copy-Item $zipfile c:\ -ToSession $session
# Enter the interactive remote session
Enter-PSSession $session
# Extract the ZIP file
Expand-Archive -Path C:\PowerShell-7.4.6-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7'
Expand-Archive -Path C:\PowerShell-7.4.7-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7'
```

If you want WSMan-based remoting, follow the instructions to create a remoting endpoint using the
Expand Down Expand Up @@ -415,13 +415,13 @@ can't support those methods.
[22]: https://aka.ms/powershell-release?tag=preview
[23]: https://aka.ms/powershell-release?tag=stable
[24]: https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease
[27]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-arm64.zip
[28]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi
[29]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.zip
[30]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x86.msi
[31]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x86.zip
[27]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/PowerShell-7.4.7-win-arm64.zip
[28]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/PowerShell-7.4.7-win-x64.msi
[29]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/PowerShell-7.4.7-win-x64.zip
[30]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/PowerShell-7.4.7-win-x86.msi
[31]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/PowerShell-7.4.7-win-x86.zip
[32]: https://www.microsoft.com/download/details.aspx?id=50410
[33]: https://www.microsoft.com/store/apps/9MZ1SNWT0N5D
[34]: microsoft-update-faq.yml
[35]: https://techcommunity.microsoft.com/t5/windows-server-insiders/announcing-windows-server-preview-build-26085/m-p/4098829
[36]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-arm64.msi
[36]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/PowerShell-7.4.7-win-arm64.msi
Original file line number Diff line number Diff line change
Expand Up @@ -117,23 +117,23 @@ install package from the [releases][09] page onto your computer. The links to th
are:

- PowerShell 7.4
- x64 processors - [powershell-7.4.6-osx-x64.pkg][20]
- Arm64 processors - [powershell-7.4.6-osx-arm64.pkg][18]
- x64 processors - [powershell-7.4.7-osx-x64.pkg][20]
- Arm64 processors - [powershell-7.4.7-osx-arm64.pkg][18]
- PowerShell 7.5-rc.1
- x64 processors - [powershell-7.5.0-rc.1-osx-x64.pkg][24]
- Arm64 processors - [powershell-7.5.0-rc.1-arm64.pkg][22]
- x64 processors - [powershell-7.5.0-osx-x64.pkg][24]
- Arm64 processors - [powershell-7.5.0-arm64.pkg][22]

You can double-click the file and follow the prompts, or install it from the terminal using the
following commands. Change the name of the file to match the file you downloaded.

```sh
sudo installer -pkg ./Downloads/powershell-7.4.6-osx-x64.pkg -target /
sudo installer -pkg ./Downloads/powershell-7.4.7-osx-x64.pkg -target /
```

If you are running on macOS Big Sur 11.5 or higher you may receive the following error message
when installing the package:

> "powershell-7.4.6-osx-x64.pkg" cannot be opened because Apple cannot check it for malicious
> "powershell-7.4.7-osx-x64.pkg" cannot be opened because Apple cannot check it for malicious
> software.

There are two ways to work around this issue:
Expand All @@ -146,7 +146,7 @@ Using the Finder

From the command line

1. Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.4.6-osx-x64.pkg`. If you are using
1. Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.4.7-osx-x64.pkg`. If you are using
PowerShell 7 or higher, you can use the `Unblock-File` cmdlet. Include the full path to the
`.pkg` file.
1. Install the package as you normally would.
Expand Down Expand Up @@ -186,18 +186,18 @@ Download the install package from the [releases][09] page onto your computer. Th
current versions are:

- PowerShell 7.4 (LTS)
- x64 processors - [powershell-7.4.6-osx-x64.tar.gz][21]
- Arm64 processors - [powershell-7.4.6-osx-arm64.tar.gz][19]
- x64 processors - [powershell-7.4.7-osx-x64.tar.gz][21]
- Arm64 processors - [powershell-7.4.7-osx-arm64.tar.gz][19]
- PowerShell 7.5-preview
- x64 processors - [powershell-7.5.0-rc.1-osx-x64.tar.gz][25]
- Arm64 processors - [powershell-7.5.0-rc.1-osx-arm64.tar.gz][23]
- x64 processors - [powershell-7.5.0-osx-x64.tar.gz][25]
- Arm64 processors - [powershell-7.5.0-osx-arm64.tar.gz][23]

Use the following commands to install PowerShell from the binary archive. Change the download URL to
match the version you want to install.

```sh
# Download the powershell '.tar.gz' archive
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-x64.tar.gz
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-osx-x64.tar.gz

# Create the target folder where powershell is placed
sudo mkdir -p /usr/local/microsoft/powershell/7
Expand Down Expand Up @@ -276,12 +276,12 @@ support those methods.
[11]: https://docs.brew.sh/Manpage#link-ln-options-formula
[12]: https://github.com/Homebrew
[13]: https://github.com/Homebrew/homebrew-cask
[18]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-arm64.pkg
[19]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-arm64.tar.gz
[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-x64.pkg
[21]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-x64.tar.gz
[22]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-7.5.0-rc.1-osx-arm64.pkg
[23]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-7.5.0-rc.1-osx-arm64.tar.gz
[24]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-7.5.0-rc.1-osx-x64.pkg
[25]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-7.5.0-rc.1-osx-x64.tar.gz
[18]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-osx-arm64.pkg
[19]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-osx-arm64.tar.gz
[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-osx-x64.pkg
[21]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-osx-x64.tar.gz
[22]: https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-7.5.0-osx-arm64.pkg
[23]: https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-7.5.0-osx-arm64.tar.gz
[24]: https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-7.5.0-osx-x64.pkg
[25]: https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-7.5.0-osx-x64.tar.gz
[26]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
43 changes: 18 additions & 25 deletions reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Details the policies governing support for PowerShell.
ms.date: 01/17/2025
ms.date: 01/23/2025
ms.topic: lifecycle
title: PowerShell Support Lifecycle
---
Expand Down Expand Up @@ -110,38 +110,31 @@ guarantees of responsiveness or fixes.
The PowerShell support lifecycle follows the [support lifecycle of .NET][06]. The following table
lists the end-of-support dates for the current versions of PowerShell:

| Version | Release Date | End-of-support |
| --------- | ------------------ | ------------------ |
| 7.4 (LTS) | November 16, 2023 | November 10, 2026 |
| Version | Release Date | End-of-support | .NET Version |
| ------------------------ | :----------: | :------------: | ------------------------- |
| PowerShell 7.6 (preview) | Future date | Future date | Built on [.NET 9.0.0][14] |
| PowerShell 7.5 | 23-Jan-2025 | 12-May-2026 | Built on [.NET 9.0.0][14] |
| PowerShell 7.4 (LTS) | 16-Nov-2023 | 10-Nov-2026 | Built on [.NET 8.0.0][13] |

The following table lists the end-of-support dates for retired versions of PowerShell:

| Version | Release Date | End-of-support |
| --------- | ------------------ | ------------------ |
| 7.3 | November 9, 2022 | May 8, 2024 |
| 7.2 (LTS) | November 8, 2021 | November 8, 2024 |
| 7.0 (LTS) | March 4, 2020 | December 3, 2022 |
| 7.1 | November 11, 2020 | May 8, 2022 |
| 6.2 | March 28, 2019 | September 4, 2020 |
| 6.1 | September 13, 2018 | September 28, 2019 |
| 6.0 | January 20, 2018 | February 13, 2019 |
| Version | Release Date | End-of-support | .NET Version |
| -------------------- | :----------: | :------------: | ---------------------------- |
| PowerShell 7.3 | 09-Nov-2022 | 08-May-2024 | Built on [.NET 7.0][12] |
| PowerShell 7.2 (LTS) | 08-Nov-2021 | 08-Nov-2024 | Built on [.NET 6.0][11] |
| PowerShell 7.0 (LTS) | 04-Mar-2020 | 03-Dec-2022 | Built on [.NET 5.0][10] |
| PowerShell 7.1 | 11-Nov-2020 | 08-May-2022 | Built on [.NET Core 3.1][09] |
| PowerShell 6.2 | 29-Mar-2019 | 04-Sep-2020 | Built on [.NET Core 2.1][08] |
| PowerShell 6.1 | 13-Sep-2018 | 28-Sep-2019 | Built on [.NET Core 2.1][08] |
| PowerShell 6.0 | 20-Jan-2018 | 13-Feb-2019 | Built on [.NET Core 2.0][07] |

## Release history
## Windows PowerShell release history

The following table contains a historical timeline of the major releases of PowerShell.
The following table contains a historical timeline of the major releases of Windows PowerShell.
Microsoft no longer supports Windows PowerShell versions lower than 5.1.

| Version | Release Date | Note |
| ------------------------ | :----------: | -------------------------------------------------------------------------- |
| PowerShell 7.6 (preview) | Future | Built on [.NET 9.0.0][14] |
| PowerShell 7.5 (RC) | Future | Built on [.NET 9.0.0][14] |
| PowerShell 7.4 (LTS) | Nov-2023 | Built on [.NET 8.0.0][13] |
| PowerShell 7.3 | Nov-2022 | Built on [.NET 7.0][12] |
| PowerShell 7.2 (LTS) | Nov-2021 | Built on [.NET 6.0][11] |
| PowerShell 7.1 | Nov-2020 | Built on [.NET 5.0][10] |
| PowerShell 7.0 (LTS) | Mar-2020 | Built on [.NET Core 3.1][09] |
| PowerShell 6.2 | Mar-2019 | Built on [.NET Core 2.1][08] |
| PowerShell 6.1 | Sep-2018 | Built on [.NET Core 2.1][08] |
| PowerShell 6.0 | Jan-2018 | Built on [.NET Core 2.0][07]. Installable on Windows, Linux, and macOS |
| Windows PowerShell 5.1 | Aug-2016 | Released in Windows 10 Anniversary Update and Windows Server 2016, WMF 5.1 |
| Windows PowerShell 5.0 | Feb-2016 | Released in Windows Management Framework (WMF) 5.0 |
| Windows PowerShell 4.0 | Oct-2013 | Released in Windows 8.1 and with Windows Server 2012 R2, WMF 4.0 |
Expand Down
6 changes: 3 additions & 3 deletions reference/docs-conceptual/install/community-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ the following article provides information on how to install PowerShell on openS
Download the tar.gz package from the [releases][09] page onto your Raspberry Pi computer. The links
to the current versions are:

- PowerShell 7.4.6 - latest LTS release
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-linux-arm32.tar.gz`
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-linux-arm64.tar.gz`
- PowerShell 7.4.7 - latest LTS release
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-arm32.tar.gz`
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-arm64.tar.gz`

Use the following shell commands to download and install the package. This script detects whether
you're running a 32-bit or 64-bit OS and installs the latest stable version of PowerShell for that
Expand Down
6 changes: 3 additions & 3 deletions reference/docs-conceptual/install/install-alpine.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ check the list of [Supported versions][02] below.
Installation on Alpine is based on downloading tar.gz package from the [releases][03] page. The URL
to the package depends on the version of PowerShell you want to install.

- PowerShell 7.4.6 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-linux-musl-x64.tar.gz`
- PowerShell 7.5.0-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-7.5.0-rc.1-linux-musl-x64.tar.gz`
- PowerShell 7.4.7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-musl-x64.tar.gz`
- PowerShell 7.5.0 - `https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-7.5.0-linux-musl-x64.tar.gz`

Then, in the terminal, execute the following shell commands to install PowerShell 7.4:

Expand All @@ -47,7 +47,7 @@ apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \
openssh-client \

# Download the powershell '.tar.gz' archive
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz

# Create the target folder where powershell will be placed
sudo mkdir -p /opt/microsoft/powershell/7
Expand Down
Loading