diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md b/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md index 3c44242ef307..62298ee79a45 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: 11/16/2023 +ms.date: 01/12/2024 title: Installing PowerShell on Windows --- # Installing PowerShell on Windows @@ -51,7 +51,7 @@ winget search Microsoft.PowerShell ```Output Name Id Version Source ----------------------------------------------------------------- -PowerShell Microsoft.PowerShell 7.4.0.0 winget +PowerShell Microsoft.PowerShell 7.4.1.0 winget PowerShell Preview Microsoft.PowerShell.Preview 7.4.0.101 winget ``` @@ -72,8 +72,8 @@ 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.0-win-x64.msi][28] -- [PowerShell-7.4.0-win-x86.msi][30] +- [PowerShell-7.4.1-win-x64.msi][28] +- [PowerShell-7.4.1-win-x86.msi][30] Once downloaded, double-click the installer file and follow the prompts. @@ -143,7 +143,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.0-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.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 ``` For a full list of command-line options for `Msiexec.exe`, see @@ -154,9 +154,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.0-win-x64.zip][29] -- [PowerShell-7.4.0-win-x86.zip][31] -- [PowerShell-7.4.0-win-arm64.zip][27] +- [PowerShell-7.4.1-win-x64.zip][29] +- [PowerShell-7.4.1-win-x86.zip][31] +- [PowerShell-7.4.1-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 @@ -255,7 +255,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.2.3 to 7.2.16. To upgrade from an +> upgrades to the latest version of LTS, for example, from 7.2.3 to 7.2.18. 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. > @@ -269,7 +269,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.4.0-win-x64.zip' +$zipfile = 'PowerShell-7.4.1-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 @@ -354,7 +354,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.4.0-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' +Expand-Archive -Path C:\PowerShell-7.4.1-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 @@ -409,11 +409,11 @@ 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.0/PowerShell-7.4.0-win-arm64.zip -[28]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/PowerShell-7.4.0-win-x64.msi -[29]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/PowerShell-7.4.0-win-x64.zip -[30]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/PowerShell-7.4.0-win-x86.msi -[31]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/PowerShell-7.4.0-win-x86.zip +[27]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/PowerShell-7.4.1-win-arm64.zip +[28]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/PowerShell-7.4.1-win-x64.msi +[29]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/PowerShell-7.4.1-win-x64.zip +[30]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/PowerShell-7.4.1-win-x86.msi +[31]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/PowerShell-7.4.1-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 diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md b/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md index 0f755bfff396..4395e9a6cd7f 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: 11/16/2023 +ms.date: 01/12/2024 title: Installing PowerShell on macOS --- @@ -115,27 +115,27 @@ brew upgrade powershell-lts Starting with version 7.2, PowerShell supports the Apple M1 processor. Download the install package from the [releases][09] page onto your computer. The links to the current versions are: -- PowerShell 7.4.0 - - x64 processors - [powershell-7.4.0-osx-x64.pkg][24] - - M1 processors - [powershell-7.4.0-osx-arm64.pkg][22] -- PowerShell 7.3.10 - - x64 processors - [powershell-7.3.10-osx-x64.pkg][20] - - M1 processors - [powershell-7.3.10-osx-arm64.pkg][18] -- PowerShell 7.2.17 (LTS) - - x64 processors - [powershell-7.2.17-osx-x64.pkg][16] - - M1 processors - [powershell-7.2.17-osx-arm64.pkg][14] +- PowerShell 7.4.1 + - x64 processors - [powershell-7.4.1-osx-x64.pkg][24] + - M1 processors - [powershell-7.4.1-osx-arm64.pkg][22] +- PowerShell 7.3.11 + - x64 processors - [powershell-7.3.11-osx-x64.pkg][20] + - M1 processors - [powershell-7.3.11-osx-arm64.pkg][18] +- PowerShell 7.2.18 (LTS) + - x64 processors - [powershell-7.2.18-osx-x64.pkg][16] + - M1 processors - [powershell-7.2.18-osx-arm64.pkg][14] 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.0-osx-x64.pkg -target / +sudo installer -pkg ./Downloads/powershell-7.4.1-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.0-osx-x64.pkg" cannot be opened because Apple cannot check it for malicious +> "powershell-7.4.1-osx-x64.pkg" cannot be opened because Apple cannot check it for malicious > software. There are two ways to work around this issue: @@ -148,7 +148,7 @@ Using the Finder From the command line -1. Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.4.0-osx-x64.pkg`. If you are using +1. Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.4.1-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. @@ -187,22 +187,22 @@ dependencies. Download the install package from the [releases][09] page onto your computer. The links to the current versions are: -- PowerShell 7.4.0 - - x64 processors - [powershell-7.4.0-osx-x64.tar.gz][25] - - M1 processors - [powershell-7.4.0-osx-arm64.tar.gz][23] -- PowerShell 7.3.10 - - x64 processors - [powershell-7.3.10-osx-x64.tar.gz][21] - - M1 processors - [powershell-7.3.10-osx-arm64.tar.gz][19] -- PowerShell 7.2.17 - - x64 processors - [powershell-7.2.17-osx-x64.tar.gz][17] - - M1 processors - [powershell-7.2.17-osx-arm64.tar.gz][15] +- PowerShell 7.4 (LTS) + - x64 processors - [powershell-7.4.1-osx-x64.tar.gz][25] + - M1 processors - [powershell-7.4.1-osx-arm64.tar.gz][23] +- PowerShell 7.3 (stable) + - x64 processors - [powershell-7.3.11-osx-x64.tar.gz][21] + - M1 processors - [powershell-7.3.11-osx-arm64.tar.gz][19] +- PowerShell 7.2 (LTS) + - x64 processors - [powershell-7.2.18-osx-x64.tar.gz][17] + - M1 processors - [powershell-7.2.18-osx-arm64.tar.gz][15] 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.0/powershell-7.4.0-osx-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-osx-x64.tar.gz # Create the target folder where powershell is placed sudo mkdir -p /usr/local/microsoft/powershell/7 @@ -281,16 +281,16 @@ 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 -[14]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell-7.2.17-osx-arm64.pkg -[15]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell-7.2.17-osx-arm64.tar.gz -[16]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell-7.2.17-osx-x64.pkg -[17]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell-7.2.17-osx-x64.tar.gz -[18]: https://github.com/PowerShell/PowerShell/releases/download/v7.3.10/powershell-7.3.10-osx-arm64.pkg -[19]: https://github.com/PowerShell/PowerShell/releases/download/v7.3.10/powershell-7.3.10-osx-arm64.tar.gz -[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.3.10/powershell-7.3.10-osx-x64.pkg -[21]: https://github.com/PowerShell/PowerShell/releases/download/v7.3.10/powershell-7.3.10-osx-x64.tar.gz -[22]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-osx-arm64.pkg -[23]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-osx-arm64.tar.gz -[24]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-osx-x64.pkg -[25]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-osx-x64.tar.gz +[14]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.18/powershell-7.2.18-osx-arm64.pkg +[15]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.18/powershell-7.2.18-osx-arm64.tar.gz +[16]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.18/powershell-7.2.18-osx-x64.pkg +[17]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.18/powershell-7.2.18-osx-x64.tar.gz +[18]: https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-osx-arm64.pkg +[19]: https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-osx-arm64.tar.gz +[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-osx-x64.pkg +[21]: https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-osx-x64.tar.gz +[22]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-osx-arm64.pkg +[23]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-osx-arm64.tar.gz +[24]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-osx-x64.pkg +[25]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-osx-x64.tar.gz [26]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html diff --git a/reference/docs-conceptual/install/community-support.md b/reference/docs-conceptual/install/community-support.md index 6165a10ebef9..65187fc6b6a0 100644 --- a/reference/docs-conceptual/install/community-support.md +++ b/reference/docs-conceptual/install/community-support.md @@ -1,6 +1,6 @@ --- description: PowerShell may run on Linux distributions that aren't officially supported by Microsoft. -ms.date: 09/06/2023 +ms.date: 01/12/2024 title: Community support for PowerShell on Linux --- # Community support for PowerShell on Linux @@ -77,12 +77,12 @@ apt -y remove powershell Download the tar.gz package from the [releases][12] page onto your Raspberry Pi computer. The links to the current versions are: -- PowerShell 7.3.9 - latest stable release - - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.9/powershell-7.3.9-linux-arm32.tar.gz` - - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.9/powershell-7.3.9-linux-arm64.tar.gz` -- PowerShell 7.2.16 - LTS release - - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.16/powershell-7.2.16-linux-arm32.tar.gz` - - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.16/powershell-7.2.16-linux-arm64.tar.gz` +- PowerShell 7.4.1 - latest LTS release + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-arm32.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-arm64.tar.gz` +- PowerShell 7.3.11 - latest stable release + - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-linux-arm32.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-linux-arm64.tar.gz` Use the following shell commands to download and install the package. This script detects whether you are running a 32 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 1bf9372cd506..a0cca919d900 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: 11/16/2023 +ms.date: 01/12/2024 title: Installing PowerShell on Alpine Linux --- # Installing PowerShell on Alpine Linux @@ -20,9 +20,9 @@ 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.0 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-linux-musl-x64.tar.gz` -- PowerShell 7.3.10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.10/powershell-7.3.10-linux-alpine-x64.tar.gz` -- PowerShell 7.2.17 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell-7.2.17-linux-alpine-x64.tar.gz` +- PowerShell 7.4.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-musl-x64.tar.gz` +- PowerShell 7.3.11 - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-linux-alpine-x64.tar.gz` +- PowerShell 7.2.18 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.18/powershell-7.2.18-linux-alpine-x64.tar.gz` Then, in the terminal, execute the following shell commands to install PowerShell 7.3: @@ -47,7 +47,7 @@ sudo apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \ lttng-ust # Download the powershell '.tar.gz' archive -curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz +curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-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 33fff9afbae6..9695082d3f58 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: 12/04/2023 +ms.date: 01/12/2024 title: Installing PowerShell on Debian --- # Installing PowerShell on Debian @@ -69,12 +69,12 @@ package from the [releases][02] page onto your Debian machine. The link to the current version is: -- PowerShell 7.4 universal package for supported versions of Debian - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell_7.4.0-1.deb_amd64.deb` -- PowerShell 7.3.10 universal package for supported versions of Debian - - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.10/powershell_7.3.10-1.deb_amd64.deb` -- PowerShell 7.2.17 universal package for supported versions of Debian - - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell_7.2.17-1.deb_amd64.deb` +- PowerShell 7.4 (LTS) universal package for supported versions of Debian + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell_7.4.1-1.deb_amd64.deb` +- PowerShell 7.3 (stable) universal package for supported versions of Debian + - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell_7.3.11-1.deb_amd64.deb` +- PowerShell 7.2 (LTS) universal package for supported versions of Debian + - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.18/powershell_7.2.18-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. @@ -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.4.0/powershell_7.4.0-1.deb_amd64.deb +wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell_7.4.1-1.deb_amd64.deb ################################### # Install the PowerShell package -sudo dpkg -i powershell_7.4.0-1.deb_amd64.deb +sudo dpkg -i powershell_7.4.1-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.4.0-1.deb_amd64.deb +rm powershell_7.4.1-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 afeb9137b14f..1d43989527a5 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: 06/28/2023 +ms.date: 01/12/2024 title: Alternate ways to install PowerShell on Linux --- # Alternate ways to install PowerShell on Linux @@ -122,16 +122,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.3.9-linux-arm32.tar.gz` -- `powershell-7.3.9-linux-arm64.tar.gz` -- `powershell-7.3.9-linux-x64.tar.gz` +- `powershell-7.3.11-linux-arm32.tar.gz` +- `powershell-7.3.11-linux-arm64.tar.gz` +- `powershell-7.3.11-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.3.9/powershell-7.3.9-linux-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-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 cef217cb5674..3ba44a889b6d 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: 11/16/2023 +ms.date: 01/12/2024 title: Installing PowerShell on Red Hat Enterprise Linux (RHEL) --- # Installing PowerShell on Red Hat Enterprise Linux (RHEL) @@ -74,11 +74,11 @@ package from the [releases][02] page onto your RHEL machine. The link to the current version is: - PowerShell 7.4 universal package for supported versions of RHEL - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-1.rh.x86_64.rpm` -- PowerShell 7.3.10 universal package for supported versions of RHEL - - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.10/powershell-7.3.10-1.rh.x86_64.rpm` -- PowerShell 7.2.17 universal package for supported versions of RHEL - - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell-7.2.17-1.rh.x86_64.rpm` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-1.rh.x86_64.rpm` +- PowerShell 7.3.11 universal package for supported versions of RHEL + - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell-7.3.11-1.rh.x86_64.rpm` +- PowerShell 7.2.18 universal package for supported versions of RHEL + - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.18/powershell-7.2.18-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. @@ -86,13 +86,13 @@ 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.4.0/powershell-7.4.0-1.rh.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-1.rh.x86_64.rpm ``` On RHEL 7: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-1.rh.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-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 4d8bf496bc4c..69ee79ac1dcc 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: 11/16/2023 +ms.date: 01/12/2024 title: Installing PowerShell on Ubuntu --- # Installing PowerShell on Ubuntu @@ -81,12 +81,12 @@ package from the [releases][02] page onto your Ubuntu machine. The link to the current version is: -- PowerShell 7.4 universal package for supported versions of Ubuntu - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell_7.4.0-1.deb_amd64.deb` -- PowerShell 7.3.10 universal package for supported versions of Ubuntu - - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.10/powershell_7.3.10-1.deb_amd64.deb` -- PowerShell 7.2.17 universal package for supported versions of Ubuntu - - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell_7.2.17-1.deb_amd64.deb` +- PowerShell 7.4 (LTS) universal package for supported versions of Ubuntu + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell_7.4.1-1.deb_amd64.deb` +- PowerShell 7.3.11 (stable) universal package for supported versions of Ubuntu + - `https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/powershell_7.3.11-1.deb_amd64.deb` +- PowerShell 7.2.18 (LTS) universal package for supported versions of Ubuntu + - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.18/powershell_7.2.18-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.4.0/powershell_7.4.0-1.deb_amd64.deb +wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell_7.4.1-1.deb_amd64.deb ################################### # Install the PowerShell package -sudo dpkg -i powershell_7.4.0-1.deb_amd64.deb +sudo dpkg -i powershell_7.4.1-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.4.0-1.deb_amd64.deb +rm powershell_7.4.1-1.deb_amd64.deb # Start PowerShell Preview pwsh-lts diff --git a/reference/docs-conceptual/install/microsoft-update-faq.yml b/reference/docs-conceptual/install/microsoft-update-faq.yml index c67e7b46476b..9663297cf43c 100644 --- a/reference/docs-conceptual/install/microsoft-update-faq.yml +++ b/reference/docs-conceptual/install/microsoft-update-faq.yml @@ -1,6 +1,6 @@ ### YamlMime:FAQ metadata: - ms.date: 06/28/2023 + ms.date: 01/12/2024 title: Microsoft Update for PowerShell FAQ description: Frequently asked questions about the using Microsoft Update to update PowerShell ms.topic: faq @@ -103,7 +103,7 @@ sections: doesn't show the check box options. To enable MU updates run the following command: ```powershell - msiexec.exe /fmu .\PowerShell-7.3.9-win-x64.msi USE_MU=1 ENABLE_MU=1 + msiexec.exe /fmu .\PowerShell-7.4.1-win-x64.msi USE_MU=1 ENABLE_MU=1 ``` For more information about running `msiexec.exe` from the command line, see