Updates from: 03/24/2022 02:39:00
Service Microsoft Docs article Related commit history on GitHub Change details
Microsoft.PowerShell.Core About Powershell Editions (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/About/about_PowerShell_Editions.md
--- description: Different editions of PowerShell run on different underlying runtimes. Locale: en-US Previously updated : 11/01/2021 Last updated : 03/23/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_powershell_editions?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about PowerShell Editions
$PSVersionTable
```Output Name Value ---- -----
-PSVersion 7.0.8
+PSVersion 7.0.9
PSEdition Core
-GitCommitId 7.0.8
-OS Microsoft Windows 10.0.19043
+GitCommitId 7.0.9
+OS Microsoft Windows 10.0.22000
Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSRemotingProtocolVersion 2.3
Microsoft.PowerShell.Core About Powershell Editions (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/About/about_PowerShell_Editions.md
--- description: Different editions of PowerShell run on different underlying runtimes. Locale: en-US Previously updated : 11/01/2021 Last updated : 03/23/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_powershell_editions?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about PowerShell Editions
$PSVersionTable
```Output Name Value ---- -----
-PSVersion 7.1.5
+PSVersion 7.1.6
PSEdition Core
-GitCommitId 7.1.5
-OS Microsoft Windows 10.0.19043
+GitCommitId 7.1.6
+OS Microsoft Windows 10.0.22000
Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSRemotingProtocolVersion 2.3
Microsoft.PowerShell.Core About Powershell Editions (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/About/about_PowerShell_Editions.md
--- description: Different editions of PowerShell run on different underlying runtimes. Locale: en-US Previously updated : 11/01/2021 Last updated : 03/23/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_powershell_editions?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about PowerShell Editions
$PSVersionTable
```Output Name Value ---- -----
-PSVersion 7.2.0
+PSVersion 7.2.2
PSEdition Core
-GitCommitId 7.2.0
-OS Microsoft Windows 10.0.19043
+GitCommitId 7.2.2
+OS Microsoft Windows 10.0.22000
Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSRemotingProtocolVersion 2.3
Microsoft.PowerShell.Core About Powershell Editions (7.3) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.3/Microsoft.PowerShell.Core/About/about_PowerShell_Editions.md
--- description: Different editions of PowerShell run on different underlying runtimes. Locale: en-US Previously updated : 11/01/2021 Last updated : 03/23/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_powershell_editions?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about PowerShell Editions
$PSVersionTable
```Output Name Value ---- -----
-PSVersion 7.2.0
+PSVersion 7.3.0-preview.3
PSEdition Core
-GitCommitId 7.2.0
-OS Microsoft Windows 10.0.19043
+GitCommitId 7.3.0-preview.3
+OS Microsoft Windows 10.0.22000
Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSRemotingProtocolVersion 2.3
install Installing Powershell On Windows https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md
different scenarios and workflows. Choose the method that best suits your needs.
To install PowerShell on Windows, use the following links to download the install package from GitHub. -- [PowerShell-7.2.1-win-x64.msi][x64msi]-- [PowerShell-7.2.1-win-x86.msi][x86msi]
+- [PowerShell-7.2.2-win-x64.msi][x64msi]
+- [PowerShell-7.2.2-win-x86.msi][x86msi]
Once downloaded, double-click the installer file and follow the prompts.
installation options:
The following example shows how to silently install PowerShell with all the install options enabled. ```powershell
-msiexec.exe /package PowerShell-7.2.1-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1
+msiexec.exe /package PowerShell-7.2.2-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1
``` For a full list of command-line options for `Msiexec.exe`, see
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][current] page. -- [PowerShell-7.2.1-win-x64.zip][x64zip]-- [PowerShell-7.2.1-win-x86.zip][x86zip]-- [PowerShell-7.2.1-win-arm64.zip][arm64zip]-- [PowerShell-7.2.1-win-arm32.zip][arm32zip]
+- [PowerShell-7.2.2-win-x64.zip][x64zip]
+- [PowerShell-7.2.2-win-x86.zip][x86zip]
+- [PowerShell-7.2.2-win-arm64.zip][arm64zip]
+- [PowerShell-7.2.2-win-arm32.zip][arm32zip]
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
winget search Microsoft.PowerShell
``` ```Output
-Name Id Version Source
-PowerShell Microsoft.PowerShell 7.2.0.0 winget
-Powershell Preview Microsoft.PowerShell.Preview 7.2.0.10 winget
+Name Id Version Source
+---------------------------------------------------------------
+PowerShell Microsoft.PowerShell 7.2.2.0 winget
+PowerShell Preview Microsoft.PowerShell.Preview 7.3.0.2 winget
``` Install Powershell or Powershell Preview using the `id` parameter
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.2.1-win-Arm64.zip'
+$zipfile = 'PowerShell-7.2.2-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.
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.2.1-win-Arm64.zip
+Expand-Archive .\PowerShell-7.2.2-win-Arm64.zip
# Set up remoting to PowerShell 7
-Set-Location .\PowerShell-7.2.1-win-Arm64
+Set-Location .\PowerShell-7.2.2-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 .
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.2.1
+Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.2.2
``` ## Deploying on Windows 10 IoT Core
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.2.1-win-x64.zip'
+$zipfile = 'PowerShell-7.2.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
Copy-Item $zipfile c:\ -ToSession $session
# Enter the interactive remote session Enter-PSSession $session # Extract the ZIP file
-Expand-Archive -Path C:\PowerShell-7.2.1-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7'
+Expand-Archive -Path C:\PowerShell-7.2.2-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
cannot support those methods.
[store-app]: https://www.microsoft.com/store/apps/9MZ1SNWT0N5D [winget]: /windows/package-manager/winget [wsman-remoting]: ../learn/remoting/WSMan-Remoting-in-PowerShell-Core.md
-[arm32zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-arm32.zip
-[arm64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-arm64.zip
-[x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x64.msi
-[x64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x64.zip
-[x86msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x86.msi
-[x86zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x86.zip
-[72x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x64.msi
+[arm32zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-arm32.zip
+[arm64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-arm64.zip
+[x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x64.msi
+[x64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x64.zip
+[x86msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x86.msi
+[x86zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x86.zip
+[72x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x64.msi
install Installing Powershell On Macos https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md
brew upgrade powershell
PowerShell 7.2 adds support for the Apple M1 processor. Download the install package from the [releases][releases] page onto your computer. The links to the current versions are: -- PowerShell 7.2.1
- - x64 processors - [powershell-7.2.1-osx-x64.pkg][72x64pkg]
- - M1 processors - [powershell-7.2.1-osx-arm64.pkg][72m1pkg]
-- PowerShell 7.1.5 - [powershell-7.1.5-osx-x64.pkg][71x64pkg]-- PowerShell 7.0.8 - [powershell-7.0.8-osx-x64.pkg][70x64pkg]
+- PowerShell 7.2.2
+ - x64 processors - [powershell-7.2.2-osx-x64.pkg][72x64pkg]
+ - M1 processors - [powershell-7.2.2-osx-arm64.pkg][72m1pkg]
+- PowerShell 7.1.6 - [powershell-7.1.6-osx-x64.pkg][71x64pkg]
+- PowerShell 7.0.9 - [powershell-7.0.9-osx-x64.pkg][70x64pkg]
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 powershell-7.2.1-osx-x64.pkg -target /
+sudo installer -pkg powershell-7.2.2-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.2.1-osx-x64.pkg" can't be opened because Apple cannot check it for malicious
+> "powershell-7.2.2-osx-x64.pkg" can't be opened because Apple cannot check it for malicious
> software. There are two ways to work around this issue:
Using the Finder
From the command line
-1. Run `sudo xattr -rd com.apple.quarantine powershell-7.2.1-osx-x64.pkg`. Include the full path to
+1. Run `sudo xattr -rd com.apple.quarantine powershell-7.2.2-osx-x64.pkg`. Include the full path to
the `.pkg` file. 1. Install the package as you normally would.
operations.
Download the install package from the [releases][releases] page onto your computer. The links to the current versions are: -- PowerShell 7.2.1
- - x64 processors - [powershell-7.2.1-osx-x64.tar.gz][72x64bin]
- - M1 processors - [powershell-7.2.1-osx-arm64.tar.gz][72m1bin]
-- PowerShell 7.1.5 - [powershell-7.1.5-osx-x64.tar.gz][71x64bin]-- PowerShell 7.0.8 - [powershell-7.0.8-osx-x64.tar.gz][70x64bin]
+- PowerShell 7.2.2
+ - x64 processors - [powershell-7.2.2-osx-x64.tar.gz][72x64bin]
+ - M1 processors - [powershell-7.2.2-osx-arm64.tar.gz][72m1bin]
+- PowerShell 7.1.6 - [powershell-7.1.6-osx-x64.tar.gz][71x64bin]
+- PowerShell 7.0.9 - [powershell-7.0.9-osx-x64.tar.gz][70x64bin]
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.2.1/powershell-7.2.1-osx-x64.tar.gz
+curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-osx-x64.tar.gz
# Create the target folder where powershell is placed
-sudo mkdir -p /usr/local/microsoft/powershell/7.2.1
+sudo mkdir -p /usr/local/microsoft/powershell/7.2.2
# Expand powershell to the target folder
-sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell/7.2.1
+sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell/7.2.2
# Set execute permissions
-sudo chmod +x /usr/local/microsoft/powershell/7.2.1/pwsh
+sudo chmod +x /usr/local/microsoft/powershell/7.2.2/pwsh
# Create the symbolic link that points to pwsh
-sudo ln -s /usr/local/microsoft/powershell/7.2.1/pwsh /usr/local/bin/pwsh
+sudo ln -s /usr/local/microsoft/powershell/7.2.2/pwsh /usr/local/bin/pwsh
``` ## Installing dependencies
and remove the paths using `sudo rm`.
## Paths -- `$PSHOME` is `/usr/local/microsoft/powershell/7.2.1/`
+- `$PSHOME` is `/usr/local/microsoft/powershell/7.2.2/`
- User profiles are read from `~/.config/powershell/profile.ps1` - Default profiles are read from `$PSHOME/profile.ps1` - User modules are read from `~/.local/share/powershell/Modules`
exists at `Microsoft.PowerShell_profile.ps1` in the same locations.
PowerShell respects the [XDG Base Directory Specification][xdg-bds] on macOS. Because macOS is a derivation of BSD, the prefix `/usr/local` is used instead of `/opt`. So,
-`$PSHOME` is `/usr/local/microsoft/powershell/7.2.1/`, and the symbolic link is placed at
+`$PSHOME` is `/usr/local/microsoft/powershell/7.2.2/`, and the symbolic link is placed at
`/usr/local/bin/pwsh`. ## Supported versions
support those methods.
[lts]: https://aka.ms/powershell-release?tag=lts [preview]: https://aka.ms/powershell-release?tag=preview
-[72x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-7.2.1-osx-x64.pkg
-[72m1pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-7.2.1-osx-arm64.pkg
-[71x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-osx-x64.pkg
-[70x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-osx-x64.pkg
+[72x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-osx-x64.pkg
+[72m1pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-osx-arm64.pkg
+[71x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-osx-x64.pkg
+[70x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-osx-x64.pkg
-[72x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-7.2.1-osx-x64.tar.gz
-[72m1bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-7.2.1-osx-arm64.tar.gz
-[71x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-osx-x64.tar.gz
-[70x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-osx-x64.tar.gz
+[72x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-osx-x64.tar.gz
+[72m1bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-osx-arm64.tar.gz
+[71x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-osx-x64.tar.gz
+[70x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-osx-x64.tar.gz
install Install Alpine https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/install-alpine.md
installing, check the list of [Supported versions](#supported-versions) below.
Installation on Alpine is based on downloading tar.gz package from the [releases][releases] page. The URL to the package depends on the version of PowerShell you want to install. -- PowerShell 7.2.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-7.2.1-linux-alpine-x64.tar.gz`-- PowerShell 7.1.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-linux-alpine-x64.tar.gz`-- PowerShell 7.0.8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-linux-alpine-x64.tar.gz`
+- PowerShell 7.2.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-linux-alpine-x64.tar.gz`
+- PowerShell 7.1.6 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-linux-alpine-x64.tar.gz`
+- PowerShell 7.0.9 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-linux-alpine-x64.tar.gz`
Then, in the terminal, execute the following shell commands to install PowerShell 7.2:
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.2.1/powershell-7.2.1-linux-alpine-x64.tar.gz -o /tmp/powershell.tar.gz
+curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-linux-alpine-x64.tar.gz -o /tmp/powershell.tar.gz
# Create the target folder where powershell will be placed sudo mkdir -p /opt/microsoft/powershell/7
install Install Centos https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/install-centos.md
with `sudo yum update powershell`.
PowerShell 7.2 is distributed as a universal RPM package. Previous versions of PowerShell had separate package for each OS. Download the RPM package you need onto your CentOS machine. -- PowerShell 7.2.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts-7.2.1-1.rh.x86_64.rpm`-- PowerShell 7.1.5
- - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.rhel.7.x86_64.rpm`
- - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.centos.8.x86_64.rpm`
-- PowerShell 7.0.8
- - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-1.rhel.7.x86_64.rpm`
- - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-1.centos.8.x86_64.rpm`
+- PowerShell 7.2.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts-7.2.2-1.rh.x86_64.rpm`
+- PowerShell 7.1.6
+ - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-1.rhel.7.x86_64.rpm`
+ - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-1.centos.8.x86_64.rpm`
+- PowerShell 7.0.9
+ - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-1.rhel.7.x86_64.rpm`
+ - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-1.centos.8.x86_64.rpm`
Change the URL in the following shell commands to match the version you need. On CentOS: ```sh
-sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts-7.2.1-1.rh.x86_64.rpm
+sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts-7.2.2-1.rh.x86_64.rpm
``` ## Uninstall PowerShell from CentOS
install Install Debian https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/install-debian.md
PowerShell 7.2 introduced a universal package that makes installation easier. Do
package from the [releases][releases] page onto the Debian 10 machine. The link to the current version is: -- PowerShell 7.2.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts_7.2.1-1.deb_amd64.deb`-- PowerShell 7.1.5
- - Debian 10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell_7.1.5-1.debian.10_amd64.deb`
- - Debian 9 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell_7.1.5-1.debian.9_amd64.deb`
-- PowerShell 7.0.8
- - Debian 10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-lts_7.0.8-1.debian.10_amd64.deb`
- - Debian 9 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-lts_7.0.8-1.debian.9_amd64.deb`
+- PowerShell 7.2.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts_7.2.2-1.deb_amd64.deb`
+- PowerShell 7.1.6
+ - Debian 10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell_7.1.6-1.debian.10_amd64.deb`
+ - Debian 9 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell_7.1.6-1.debian.9_amd64.deb`
+- PowerShell 7.0.9
+ - Debian 10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-lts_7.0.9-1.debian.10_amd64.deb`
+ - Debian 9 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-lts_7.0.9-1.debian.9_amd64.deb`
## Installation on Debian 10 via Package Repository
install Install Fedora https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/install-fedora.md
PowerShell 7.2 introduced a universal package that makes installation easier. Th
contains the dependencies needed by the package. Download the RPM package from the [releases][releases] page onto your openSUSE computer. The links to the current versions are: -- PowerShell 7.2.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts-7.2.1-1.rh.x86_64.rpm`-- PowerShell 7.1.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.rhel.7.x86_64.rpm`-- PowerShell 7.0.8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-1.rhel.7.x86_64.rpm`
+- PowerShell 7.2.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts-7.2.2-1.rh.x86_64.rpm`
+- PowerShell 7.1.6 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-1.rhel.7.x86_64.rpm`
+- PowerShell 7.0.9 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-1.rhel.7.x86_64.rpm`
The following shell command installs PowerShell 7.2: ```sh
-sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts-7.2.1-1.rh.x86_64.rpm
+sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts-7.2.2-1.rh.x86_64.rpm
```
-Use the following shell commands to download and install the 7.1.5 package. Change the URL to match
+Use the following shell commands to download and install the 7.1.6 package. Change the URL to match
the PowerShell version that you want to install. ```sh sudo dnf install compat-openssl10
-sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.rhel.7.x86_64.rpm
+sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-1.rhel.7.x86_64.rpm
``` ## Uninstall PowerShell from Fedora
install Install Other Linux https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/install-other-linux.md
Linux `tar.gz` 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.2.1-linux-arm32.tar.gz-- powershell-7.2.1-linux-arm64.tar.gz-- powershell-7.2.1-linux-x64.tar.gz
+- powershell-7.2.2-linux-arm32.tar.gz
+- powershell-7.2.2-linux-arm64.tar.gz
+- powershell-7.2.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.2.1/powershell-7.2.1-linux-x64.tar.gz
+curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-linux-x64.tar.gz
# Create the target folder where powershell will be placed sudo mkdir -p /opt/microsoft/powershell/7
install Install Raspbian https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/install-raspbian.md
run `pwsh` from a terminal. Run `pwsh-preview` if you installed a preview releas
Download the tar.gz package from the [releases][releases] page onto your Raspberry Pi computer. The links to the current versions are: -- PowerShell 7.2.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-7.2.1-linux-arm32.tar.gz`-- PowerShell 7.1.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-linux-arm32.tar.gz`-- PowerShell 7.0.8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-linux-arm32.tar.gz`
+- PowerShell 7.2.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-linux-arm32.tar.gz`
+- PowerShell 7.1.6 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-linux-arm32.tar.gz`
+- PowerShell 7.0.9 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-linux-arm32.tar.gz`
Use the following shell commands to download and install the package. Change the URL to match the PowerShell version that you want to install.
sudo apt-get install '^libssl1.0.[0-9]$' libunwind8 -y
# Download and extract PowerShell # Grab the latest tar.gz
-wget https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-7.2.1-linux-arm32.tar.gz
+wget https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-7.2.2-linux-arm32.tar.gz
# Make folder to put powershell mkdir ~/powershell # Unpack the tar.gz file
-tar -xvf ./powershell-7.2.1-linux-arm32.tar.gz -C ~/powershell
+tar -xvf ./powershell-7.2.2-linux-arm32.tar.gz -C ~/powershell
# Start PowerShell ~/powershell/pwsh
install Install Rhel https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/install-rhel.md
with `sudo dnf upgrade powershell`.
PowerShell 7.2 is distributed as a universal RPM package. Previous versions of PowerShell had separate package for each OS. Download the RPM package you need onto your CentOS machine. -- PowerShell 7.2.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts-7.2.1-1.rh.x86_64.rpm`-- PowerShell 7.1.5
- - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.rhel.7.x86_64.rpm`
- - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.centos.8.x86_64.rpm`
-- PowerShell 7.0.8
- - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-1.rhel.7.x86_64.rpm`
- - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-1.centos.8.x86_64.rpm`
+- PowerShell 7.2.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts-7.2.2-1.rh.x86_64.rpm`
+- PowerShell 7.1.6
+ - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-1.rhel.7.x86_64.rpm`
+ - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell-7.1.6-1.centos.8.x86_64.rpm`
+- PowerShell 7.0.9
+ - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-1.rhel.7.x86_64.rpm`
+ - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-7.0.9-1.centos.8.x86_64.rpm`
Use the following shell command to install the latest RPM package on the target version of RHEL. Change the URL in the following shell commands to match the version you need.
Change the URL in the following shell commands to match the version you need.
On RHEL 7: ```sh
-sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts-7.2.1-1.rh.x86_64.rpm
+sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts-7.2.2-1.rh.x86_64.rpm
``` On RHEL 8: ```sh
-sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts-7.2.1-1.rh.x86_64.rpm
+sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts-7.2.2-1.rh.x86_64.rpm
``` ## Uninstallation - Red Hat Enterprise Linux (RHEL) 7
install Install Ubuntu https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/install-ubuntu.md
PowerShell 7.2 introduced a universal package that makes installation easier. Do
package from the [releases][releases] page onto the Ubuntu machine. The link to the current version is: -- PowerShell 7.2.1 (universal package) for any support version of Ubuntu
- - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-lts_7.2.1-1.deb_amd64.deb`
-- PowerShell 7.1.5
- - Ubuntu 20.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell_7.1.5-1.ubuntu.20.04_amd64.deb`
- - Ubuntu 18.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell_7.1.5-1.ubuntu.18.04_amd64.deb`
-- PowerShell 7.0.8
- - Ubuntu 20.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-lts_7.0.8-1.ubuntu.20.04_amd64.deb`
- - Ubuntu 18.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-lts_7.0.8-1.ubuntu.18.04_amd64.deb`
+- PowerShell 7.2.2 (universal package) for any support version of Ubuntu
+ - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/powershell-lts_7.2.2-1.deb_amd64.deb`
+- PowerShell 7.1.6
+ - Ubuntu 20.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell_7.1.6-1.ubuntu.20.04_amd64.deb`
+ - Ubuntu 18.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.6/powershell_7.1.6-1.ubuntu.18.04_amd64.deb`
+- PowerShell 7.0.9
+ - Ubuntu 20.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-lts_7.0.9-1.ubuntu.20.04_amd64.deb`
+ - Ubuntu 18.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.9/powershell-lts_7.0.9-1.ubuntu.18.04_amd64.deb`
Use the following shell commands to install the package. Change the filename of the package to match the version you downloaded. ```sh # Install the downloaded package
-sudo dpkg -i powershell-lts_7.2.1-1.deb_amd64.deb
+sudo dpkg -i powershell-lts_7.2.2-1.deb_amd64.deb
# Resolve missing dependencies and finish the install (if necessary) sudo apt-get install -f