From 320e1a300c0560de32d06c8643bf8ab7c397e5c7 Mon Sep 17 00:00:00 2001 From: Gijs Reijn Date: Thu, 3 Jul 2025 15:46:09 +0200 Subject: [PATCH] Update version numbers for 7.5.2 release (#12196) * Update version numbers for 7.5.2 release * Added updates for 7.4.11 and support lifecycle --------- Co-authored-by: Sean Wheeler --- .../Installing-PowerShell-on-Windows.md | 42 ++++++++--------- .../install/Installing-PowerShell-on-macOS.md | 46 +++++++++---------- .../install/community-support.md | 10 ++-- .../docs-conceptual/install/install-alpine.md | 8 ++-- .../docs-conceptual/install/install-debian.md | 12 ++--- .../install/install-other-linux.md | 10 ++-- .../docs-conceptual/install/install-rhel.md | 12 ++--- .../docs-conceptual/install/install-ubuntu.md | 12 ++--- reference/includes/alpine-support.md | 20 ++++---- reference/includes/debian-support.md | 18 ++++---- reference/includes/rhel-support.md | 12 +---- reference/includes/ubuntu-support.md | 27 ++++++----- reference/includes/windows-support.md | 15 +++--- 13 files changed, 118 insertions(+), 126 deletions(-) diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md b/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md index 100d2c2ce325..b2e6908020c6 100644 --- a/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md +++ b/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Windows -ms.date: 04/28/2025 +ms.date: 07/03/2025 title: Installing PowerShell on Windows --- # Installing PowerShell on Windows @@ -41,7 +41,7 @@ winget search Microsoft.PowerShell ```Output Name Id Version Source --------------------------------------------------------------- -PowerShell Microsoft.PowerShell 7.5.1.0 winget +PowerShell Microsoft.PowerShell 7.5.2.0 winget PowerShell Preview Microsoft.PowerShell.Preview 7.6.0.4 winget ``` @@ -65,9 +65,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.5.1-win-x64.msi][22] -- [PowerShell-7.5.1-win-x86.msi][24] -- [PowerShell-7.5.1-win-arm64.msi][20] +- [PowerShell-7.5.2-win-x64.msi][22] +- [PowerShell-7.5.2-win-x86.msi][24] +- [PowerShell-7.5.2-win-arm64.msi][20] Once downloaded, double-click the installer file and follow the prompts. @@ -137,7 +137,7 @@ installation options: The following example shows how to silently install PowerShell with all the install options enabled. ```powershell -msiexec.exe /package PowerShell-7.5.1-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.5.2-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 @@ -148,9 +148,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][18] page. -- [PowerShell-7.5.1-win-x64.zip][23] -- [PowerShell-7.5.1-win-x86.zip][25] -- [PowerShell-7.5.1-win-arm64.zip][21] +- [PowerShell-7.5.2-win-x64.zip][23] +- [PowerShell-7.5.2-win-x86.zip][25] +- [PowerShell-7.5.2-win-arm64.zip][21] 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 @@ -257,7 +257,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 = ' -$zipfile = 'PowerShell-7.5.1-win-x64.zip' +$zipfile = 'PowerShell-7.5.2-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 @@ -340,7 +340,7 @@ Copy-Item $zipfile C:\ -ToSession $session # Enter the interactive remote session Enter-PSSession $session # Extract the ZIP file -Expand-Archive -Path C:\PowerShell-7.5.1-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' +Expand-Archive -Path C:\PowerShell-7.5.2-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' ``` ## PowerShell remoting @@ -380,11 +380,11 @@ can't support those methods. [15]: #zip [18]: https://github.com/PowerShell/PowerShell/releases/latest [19]: https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease -[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/PowerShell-7.5.1-win-arm64.msi -[21]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/PowerShell-7.5.1-win-arm64.zip -[22]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/PowerShell-7.5.1-win-x64.msi -[23]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/PowerShell-7.5.1-win-x64.zip -[24]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/PowerShell-7.5.1-win-x86.msi -[25]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/PowerShell-7.5.1-win-x86.zip +[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/PowerShell-7.5.2-win-arm64.msi +[21]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/PowerShell-7.5.2-win-arm64.zip +[22]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/PowerShell-7.5.2-win-x64.msi +[23]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/PowerShell-7.5.2-win-x64.zip +[24]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/PowerShell-7.5.2-win-x86.msi +[25]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/PowerShell-7.5.2-win-x86.zip [27]: https://www.microsoft.com/store/apps/9MZ1SNWT0N5D [28]: microsoft-update-faq.yml diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md b/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md index d3448d6d8371..47f1a70b7070 100644 --- a/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md +++ b/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on macOS -ms.date: 06/19/2025 +ms.date: 07/03/2025 title: Installing PowerShell on macOS --- @@ -126,12 +126,12 @@ Starting with version 7.2, PowerShell supports the Apple M-series Arm-based proc install package from the [releases][09] page onto your Mac. The links to the current versions are: - PowerShell 7.5 - - Arm64 processors - [powershell-7.5.1-arm64.pkg][22] - - x64 processors - [powershell-7.5.1-osx-x64.pkg][24] + - Arm64 processors - [powershell-7.5.2-arm64.pkg][22] + - x64 processors - [powershell-7.5.2-osx-x64.pkg][24] - PowerShell 7.4 - - Arm64 processors - [powershell-7.4.10-osx-arm64.pkg][18] - - x64 processors - [powershell-7.4.10-osx-x64.pkg][20] + - Arm64 processors - [powershell-7.4.11-osx-arm64.pkg][18] + - x64 processors - [powershell-7.4.11-osx-x64.pkg][20] There are two ways to install PowerShell using the Direct Download method. @@ -146,7 +146,7 @@ Install PowerShell using Finder: You might receive the following error message when installing the package: -> "powershell-7.5.1-osx-arm64.pkg" cannot be opened because Apple cannot check it for malicious +> "powershell-7.5.2-osx-arm64.pkg" cannot be opened because Apple cannot check it for malicious > software. To work around this issue using Finder: @@ -160,12 +160,12 @@ To work around this issue using Finder: Install PowerShell from the terminal. Change the filename to match the package you downloaded. ```sh -sudo installer -pkg ./Downloads/powershell-7.5.1-osx-arm64.pkg -target / +sudo installer -pkg ./Downloads/powershell-7.5.2-osx-arm64.pkg -target / ``` You might receive the following error message when installing the package: -> "powershell-7.5.1-osx-arm64.pkg" cannot be opened because Apple cannot check it for malicious +> "powershell-7.5.2-osx-arm64.pkg" cannot be opened because Apple cannot check it for malicious > software. There are a few different ways to work around this issue from the command line: @@ -173,12 +173,12 @@ There are a few different ways to work around this issue from the command line: - Run the `installer` command with the **allowUntrusted** flag: ```sh - `sudo installer -allowUntrusted -pkg ./Downloads/powershell-7.5.1-osx-arm64.pkg -target /` + `sudo installer -allowUntrusted -pkg ./Downloads/powershell-7.5.2-osx-arm64.pkg -target /` ``` - Or install the package as you normally would after running one of the following commands: - - Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.5.1-osx-arm64.pkg`. + - Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.5.2-osx-arm64.pkg`. - Use the `Unblock-File` cmdlet if you're using PowerShell. Include the full path to the `.pkg` file. @@ -214,19 +214,19 @@ Download the install package from the [releases][09] page onto your Mac. The lin versions are: - PowerShell 7.5-preview - - Arm64 processors - [powershell-7.5.1-osx-arm64.tar.gz][23] - - x64 processors - [powershell-7.5.1-osx-x64.tar.gz][25] + - Arm64 processors - [powershell-7.5.2-osx-arm64.tar.gz][23] + - x64 processors - [powershell-7.5.2-osx-x64.tar.gz][25] - PowerShell 7.4 (LTS) - - Arm64 processors - [powershell-7.4.10-osx-arm64.tar.gz][19] - - x64 processors - [powershell-7.4.10-osx-x64.tar.gz][21] + - Arm64 processors - [powershell-7.4.11-osx-arm64.tar.gz][19] + - x64 processors - [powershell-7.4.11-osx-x64.tar.gz][21] 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.5.1/powershell-7.5.1-osx-arm64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-osx-arm64.tar.gz # Create the target folder where powershell is placed sudo mkdir -p /usr/local/microsoft/powershell/7 @@ -305,14 +305,14 @@ 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.10/powershell-7.4.10-osx-arm64.pkg -[19]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell-7.4.10-osx-arm64.tar.gz -[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell-7.4.10-osx-x64.pkg -[21]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell-7.4.10-osx-x64.tar.gz -[22]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-osx-arm64.pkg -[23]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-osx-arm64.tar.gz -[24]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-osx-x64.pkg -[25]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-osx-x64.tar.gz +[18]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-osx-arm64.pkg +[19]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-osx-arm64.tar.gz +[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-osx-x64.pkg +[21]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-osx-x64.tar.gz +[22]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-osx-arm64.pkg +[23]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-osx-arm64.tar.gz +[24]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-osx-x64.pkg +[25]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-osx-x64.tar.gz [26]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html [27]: #install-using-homebrew [28]: #install-as-a-net-global-tool diff --git a/reference/docs-conceptual/install/community-support.md b/reference/docs-conceptual/install/community-support.md index e29019ed38b1..74f93e5f6a2e 100644 --- a/reference/docs-conceptual/install/community-support.md +++ b/reference/docs-conceptual/install/community-support.md @@ -1,6 +1,6 @@ --- description: PowerShell can run on Linux distributions that aren't officially supported by Microsoft. -ms.date: 04/28/2025 +ms.date: 07/03/2025 title: Community support for PowerShell on Linux --- # Community support for PowerShell on Linux @@ -78,11 +78,11 @@ Download the tar.gz package from the [releases][09] page onto your Raspberry Pi to the current versions are: - PowerShell 7.4 - latest LTS release - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell-7.4.10-linux-arm32.tar.gz` - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell-7.4.10-linux-arm64.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-linux-arm32.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-linux-arm64.tar.gz` - PowerShell 7.5 - latest stable release - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-linux-arm32.tar.gz` - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-linux-arm64.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-linux-arm32.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-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 diff --git a/reference/docs-conceptual/install/install-alpine.md b/reference/docs-conceptual/install/install-alpine.md index f3a9ebbbb83d..431b99deefb1 100644 --- a/reference/docs-conceptual/install/install-alpine.md +++ b/reference/docs-conceptual/install/install-alpine.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Alpine Linux -ms.date: 04/28/2025 +ms.date: 07/03/2025 title: Installing PowerShell on Alpine Linux --- # Installing PowerShell on Alpine Linux @@ -22,8 +22,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 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell-7.4.10-linux-musl-x64.tar.gz` -- PowerShell 7.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-linux-musl-x64.tar.gz` +- PowerShell 7.4 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-linux-musl-x64.tar.gz` +- PowerShell 7.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-linux-musl-x64.tar.gz` Then, in the terminal, execute the following shell commands to install PowerShell 7.4: @@ -49,7 +49,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.5.1/powershell-7.5.1-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz +curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-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 diff --git a/reference/docs-conceptual/install/install-debian.md b/reference/docs-conceptual/install/install-debian.md index 1f9ba5f1b3af..779f70dbef08 100644 --- a/reference/docs-conceptual/install/install-debian.md +++ b/reference/docs-conceptual/install/install-debian.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Debian Linux -ms.date: 04/28/2025 +ms.date: 07/03/2025 title: Installing PowerShell on Debian --- # Installing PowerShell on Debian @@ -72,9 +72,9 @@ package from the [releases][02] page onto your Debian machine. The link to the current version is: - PowerShell 7.4 (LTS) universal package for supported versions of Debian - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell_7.4.10-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell_7.4.11-1.deb_amd64.deb` - PowerShell 7.5 universal package for supported versions of Debian - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell_7.5.1-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell_7.5.2-1.deb_amd64.deb` The following shell script downloads and installs the current release of PowerShell. You can change the URL to download the version of PowerShell that you want to install. @@ -90,17 +90,17 @@ sudo apt-get update sudo apt-get install -y wget # Download the PowerShell package file -wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell_7.5.1-1.deb_amd64.deb +wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell_7.5.2-1.deb_amd64.deb ################################### # Install the PowerShell package -sudo dpkg -i powershell_7.5.1-1.deb_amd64.deb +sudo dpkg -i powershell_7.5.2-1.deb_amd64.deb # Resolve missing dependencies and finish the install (if necessary) sudo apt-get install -f # Delete the downloaded package file -rm powershell_7.5.1-1.deb_amd64.deb +rm powershell_7.5.2-1.deb_amd64.deb # Start PowerShell pwsh diff --git a/reference/docs-conceptual/install/install-other-linux.md b/reference/docs-conceptual/install/install-other-linux.md index 926d4bd305c4..9ce15b9f568d 100644 --- a/reference/docs-conceptual/install/install-other-linux.md +++ b/reference/docs-conceptual/install/install-other-linux.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on various Linux distributions -ms.date: 04/28/2025 +ms.date: 07/03/2025 title: Alternate ways to install PowerShell on Linux --- # Alternate ways to install PowerShell on Linux @@ -132,16 +132,16 @@ archive. The following example shows the steps for installing the x64 binary archive. You must choose the correct binary archive that matches the processor type for your platform. -- `powershell-7.5.1-linux-arm32.tar.gz` -- `powershell-7.5.1-linux-arm64.tar.gz` -- `powershell-7.5.1-linux-x64.tar.gz` +- `powershell-7.5.2-linux-arm32.tar.gz` +- `powershell-7.5.2-linux-arm64.tar.gz` +- `powershell-7.5.2-linux-x64.tar.gz` Use the following shell commands to download and install PowerShell from the `tar.gz` binary archive. Change the URL to match the version of PowerShell 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.5.1/powershell-7.5.1-linux-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-linux-x64.tar.gz # Create the target folder where powershell will be placed sudo mkdir -p /opt/microsoft/powershell/7 diff --git a/reference/docs-conceptual/install/install-rhel.md b/reference/docs-conceptual/install/install-rhel.md index a01a1f7a0915..ae6ea4fde372 100644 --- a/reference/docs-conceptual/install/install-rhel.md +++ b/reference/docs-conceptual/install/install-rhel.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Red Hat Enterprise Linux (RHEL) -ms.date: 04/28/2025 +ms.date: 07/03/2025 title: Installing PowerShell on Red Hat Enterprise Linux (RHEL) --- # Installing PowerShell on Red Hat Enterprise Linux (RHEL) @@ -66,10 +66,10 @@ package from the [releases][02] page onto your RHEL machine. The link to the current version is: -- PowerShell 7.4.10 universal package for supported versions of RHEL - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell-7.4.10-1.rh.x86_64.rpm` -- PowerShell 7.5.1 universal package for supported versions of RHEL - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-1.rh.x86_64.rpm` +- PowerShell 7.4.11 universal package for supported versions of RHEL + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-1.rh.x86_64.rpm` +- PowerShell 7.5.2 universal package for supported versions of RHEL + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-1.rh.x86_64.rpm` The following shell script downloads and installs the current preview release of PowerShell. You can change the URL to download the version of PowerShell that you want to install. @@ -77,7 +77,7 @@ change the URL to download the version of PowerShell that you want to install. On RHEL 8 or 9: ```sh -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-1.rh.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-1.rh.x86_64.rpm ``` ## Uninstall PowerShell diff --git a/reference/docs-conceptual/install/install-ubuntu.md b/reference/docs-conceptual/install/install-ubuntu.md index a20ef8a2e67b..221ad89a24bc 100644 --- a/reference/docs-conceptual/install/install-ubuntu.md +++ b/reference/docs-conceptual/install/install-ubuntu.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Ubuntu -ms.date: 04/28/2025 +ms.date: 07/03/2025 title: Installing PowerShell on Ubuntu --- # Installing PowerShell on Ubuntu @@ -84,9 +84,9 @@ package from the [releases][05] page onto your Ubuntu machine. The link to the current version is: - PowerShell 7.4 (LTS) universal package for supported versions of Ubuntu - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.10/powershell_7.4.10-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell_7.4.11-1.deb_amd64.deb` - PowerShell 7.5 universal package for supported versions of Ubuntu - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-preview_7.5.1-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-preview_7.5.2-1.deb_amd64.deb` The following shell script downloads and installs the current preview release of PowerShell. You can change the URL to download the version of PowerShell that you want to install. @@ -102,17 +102,17 @@ sudo apt-get update sudo apt-get install -y wget # Download the PowerShell package file -wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell_7.5.1-1.deb_amd64.deb +wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell_7.5.2-1.deb_amd64.deb ################################### # Install the PowerShell package -sudo dpkg -i powershell_7.5.1-1.deb_amd64.deb +sudo dpkg -i powershell_7.5.2-1.deb_amd64.deb # Resolve missing dependencies and finish the install (if necessary) sudo apt-get install -f # Delete the downloaded package file -rm powershell_7.5.1-1.deb_amd64.deb +rm powershell_7.5.2-1.deb_amd64.deb # Start PowerShell Preview pwsh diff --git a/reference/includes/alpine-support.md b/reference/includes/alpine-support.md index 82f8dbfe1fbf..40efc432bd1e 100644 --- a/reference/includes/alpine-support.md +++ b/reference/includes/alpine-support.md @@ -1,25 +1,23 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 12/12/2024 +ms.date: 07/03/2025 ms.topic: include --- Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of [Alpine reaches end-of-life][eol-alpine]. -Docker images containing PowerShell 7.4 and PowerShell 7.5-preview for x64 are available from the -[Microsoft Artifact Registry][mcr] for the following versions of Alpine: +The Docker images for the .NET SDK contain the latest versions of PowerShell. These images are +available from the [Microsoft Artifact Registry][mcr]. -- Alpine 3.20 - OS support ends on 2026-04-01 +These images are built from official operating system (OS) images provide by the OS distributor. +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. -Docker images of PowerShell aren't available for Alpine 3.21. - -> [!IMPORTANT] -> The Docker images are built from official operating system (OS) images provide by the OS -> distributor. 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. [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle [eol-alpine]: https://alpinelinux.org/releases/ -[mcr]: https://mcr.microsoft.com/en-us/product/powershell/tags +[mcr]: https://mcr.microsoft.com/en-us/artifact/mar/dotnet/sdk/tags diff --git a/reference/includes/debian-support.md b/reference/includes/debian-support.md index 05074ab34abc..a953dde6a3d7 100644 --- a/reference/includes/debian-support.md +++ b/reference/includes/debian-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 11/02/2024 +ms.date: 07/03/2025 ms.topic: include --- @@ -10,17 +10,17 @@ Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycl Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm]. -Docker images containing PowerShell 7.4 and PowerShell 7.5-preview for x64 are available from the -[Microsoft Artifact Registry][mcr] for the following versions of Debian: +The Docker images for the .NET SDK contain the latest versions of PowerShell. These images are +available from the [Microsoft Artifact Registry][mcr]. -- Debian 12 (Bookworm) - OS support ends on 2026-06-10 +These images are built from official operating system (OS) images provide by the OS distributor. +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. -> [!IMPORTANT] -> The Docker images are built from official operating system (OS) images provide by the OS -> distributor. 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. [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle [eol-debian]: https://wiki.debian.org/DebianReleases -[mcr]: https://mcr.microsoft.com/product/powershell/tags +[mcr]: https://mcr.microsoft.com/en-us/artifact/mar/dotnet/sdk/tags [pcm]: https://packages.microsoft.com/ diff --git a/reference/includes/rhel-support.md b/reference/includes/rhel-support.md index 725d24e4af2e..fa21794accc6 100644 --- a/reference/includes/rhel-support.md +++ b/reference/includes/rhel-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 11/02/2024 +ms.date: 07/03/2025 ms.topic: include --- @@ -10,22 +10,14 @@ Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycl Install package files (`.rpm`) are also available from [https://packages.microsoft.com/][pcm]. -Docker images containing PowerShell 7.4 and PowerShell 7.5-preview for x64 are available from the -[Microsoft Artifact Registry][mcr] for the following versions of RHEL: - +- RHEL 10 - OS support ends on 2035-05-31 - RHEL 9 - OS support ends on 2032-05-31 - RHEL 8 - OS support ends on 2029-05-31 PowerShell is tested on Red Hat Universal Base Images (UBI). For more information, see the [UBI information page][ubi]. -> [!IMPORTANT] -> The Docker images are built from official operating system (OS) images provide by the OS -> distributor. 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. - [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle [eol-rhel]: https://access.redhat.com/support/policy/updates/errata/ [ubi]: https://developers.redhat.com/products/rhel/ubi -[mcr]: https://mcr.microsoft.com/product/powershell/tags [pcm]: https://packages.microsoft.com/ diff --git a/reference/includes/ubuntu-support.md b/reference/includes/ubuntu-support.md index 99c483df52e3..f84cbd9f025e 100644 --- a/reference/includes/ubuntu-support.md +++ b/reference/includes/ubuntu-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 04/29/2025 +ms.date: 07/03/2025 ms.topic: include --- @@ -10,25 +10,24 @@ Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycl Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm]. -Docker images containing PowerShell 7.4 and PowerShell 7.5-preview for x64 and Arm32 are available -from the [Microsoft Artifact Registry][mcr] for the following versions of Ubuntu: +The Docker images for the .NET SDK contain the latest versions of PowerShell. These images are +available from the [Microsoft Artifact Registry][mcr]. -- Ubuntu 24.04 (Noble Numbat) - OS support ends on 2029-04-01 -- Ubuntu 22.04 (Jammy Jellyfish) - OS support ends on 2027-04-01 -- Ubuntu 20.04 (Focal Fossa) - OS support ends on 2025-05-31 +These images are built from official operating system (OS) images provide by the OS distributor. +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. -Ubuntu 24.10 (Oracular Oriole) is an interim release. Microsoft doesn't support -[interim releases][interim] of Ubuntu. For more information, see -[Community supported distributions][community]. +These images are provided for testing purposes. If you need a Docker image for a production +workload, you should build and maintain your own. -> [!IMPORTANT] -> The Docker images are built from official operating system (OS) images provide by the OS -> distributor. 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. +> [!NOTE] +> Ubuntu 24.10 (Oracular Oriole) is an interim release. Microsoft doesn't support +> [interim releases][interim] of Ubuntu. For more information, see +> [Community supported distributions][community]. [eol-ubuntu]: https://endoflife.date/ubuntu [interim]: https://ubuntu.com/about/release-cycle [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle [community]: /powershell/scripting/install/community-support -[mcr]: https://mcr.microsoft.com/product/powershell/tags +[mcr]: https://mcr.microsoft.com/en-us/artifact/mar/dotnet/sdk/tags [pcm]: https://packages.microsoft.com/ diff --git a/reference/includes/windows-support.md b/reference/includes/windows-support.md index 7e2283f71818..a9429f7e1eaf 100644 --- a/reference/includes/windows-support.md +++ b/reference/includes/windows-support.md @@ -1,18 +1,21 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 11/02/2024 +ms.date: 07/03/2025 ms.topic: include --- Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of [Windows reaches end-of-support][eol-windows]. -- Docker images containing PowerShell 7.4 and PowerShell 7.5-preview for x64 for Windows Server - 2022, Windows Server Core 2022, and Windows Server Nano build 1809 are available from the - [Microsoft Artifact Registry][mcr]. -- PowerShell 7.4 and higher can be installed on Windows 10 build 1607 and higher, Windows 11, - Windows Server 2016 and higher. +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. > [!NOTE] > Support for a specific version of Windows is determined by the Microsoft Support Lifecycle