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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Windows
ms.date: 10/22/2021
ms.date: 11/03/2021
title: Installing PowerShell on Windows
---
# Installing PowerShell on Windows
Expand Down Expand Up @@ -172,15 +172,15 @@ For more information, see

The preview version of PowerShell 7.2 can be downloaded using the following link:

- [PowerShell-7.2.0-preview.10-win-x64.msi][72x64msi]
- [PowerShell-7.2.0-rc.1-win-x64.msi][72x64msi]

Preview releases of PowerShell 7 install to `$env:ProgramFiles\PowerShell\7-preview` so they can
be run side-by-side with non-preview releases of PowerShell. PowerShell 7.2-preview.10 is the
be run side-by-side with non-preview releases of PowerShell. PowerShell 7.2-rc.1 is the
current preview release.

### Support for Microsoft Update in PowerShell 7.2

PowerShell 7.2-preview.10 has support for Microsoft Update. When you enable this feature, you'll get
PowerShell 7.2-rc.1 has support for Microsoft Update. When you enable this feature, you'll get
the latest PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whether
that's with Windows Update for Business, WSUS, SCCM, or the interactive MU dialog in Settings.

Expand Down Expand Up @@ -357,4 +357,4 @@ cannot support those methods.
[x64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-x64.zip
[x86msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-x86.msi
[x86zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-x86.zip
[72x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/PowerShell-7.2.0-preview.10-win-x64.msi
[72x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/PowerShell-7.2.0-rc.1-win-x64.msi
22 changes: 11 additions & 11 deletions reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on macOS
ms.date: 10/15/2021
ms.date: 11/03/2021
title: Installing PowerShell on macOS
---

Expand Down Expand Up @@ -126,9 +126,9 @@ 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-preview.10
- x64 processors - [powershell-7.2.0-preview.10-osx-x64.pkg][72x64pkg]
- M1 processors - [powershell-7.2.0-preview.10-osx-arm64.pkg][72m1pkg]
- PowerShell 7.2-rc.1
- x64 processors - [powershell-7.2.0-rc.1-osx-x64.pkg][72x64pkg]
- M1 processors - [powershell-7.2.0-rc.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]

Expand Down Expand Up @@ -178,9 +178,9 @@ operations.
Download the install package from the [releases][releases] page onto your computer. The links to the
current versions are:

- PowerShell 7.2-preview.10
- x64 processors - [powershell-7.2.0-preview.10-osx-x64.tar.gz][72x64bin]
- M1 processors - [powershell-7.2.0-preview.10-osx-arm64.tar.gz][72m1bin]
- PowerShell 7.2-rc.1
- x64 processors - [powershell-7.2.0-rc.1-osx-x64.tar.gz][72x64bin]
- M1 processors - [powershell-7.2.0-rc.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]

Expand Down Expand Up @@ -300,12 +300,12 @@ 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.0-preview.10/powershell-7.2.0-preview.10-osx-x64.pkg
[72m1pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-7.2.0-preview.10-osx-arm64.pkg
[72x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-osx-x64.pkg
[72m1pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.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

[72x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-7.2.0-preview.10-osx-x64.tar.gz
[72m1bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-7.2.0-preview.10-osx-arm64.tar.gz
[72x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-osx-x64.tar.gz
[72m1bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.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
8 changes: 4 additions & 4 deletions reference/docs-conceptual/install/install-alpine.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Alpine Linux
ms.date: 10/15/2021
ms.date: 11/03/2021
title: Installing PowerShell on Alpine Linux
---
# Installing PowerShell on Alpine Linux
Expand All @@ -20,11 +20,11 @@ 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-preview.10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-7.2.0-preview.10-linux-alpine-x64.tar.gz`
- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-linux-alpine-x64.tar.gz`
- PowerShell 7.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-linux-alpine-x64.tar.gz`
- PowerShell 7.0 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-linux-alpine-x64.tar.gz`

Then, in the terminal, execute the following shell commands to install PowerShell 7.2-preview.10:
Then, in the terminal, execute the following shell commands to install PowerShell 7.2-rc.1:

```sh
# install the requirements
Expand All @@ -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.2.0-preview.10/powershell-7.2.0-preview.10-linux-alpine-x64.tar.gz -o /tmp/powershell.tar.gz
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-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
Expand Down
8 changes: 4 additions & 4 deletions reference/docs-conceptual/install/install-centos.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on CentOS
ms.date: 10/15/2021
ms.date: 11/03/2021
title: Installing PowerShell on CentOS
---
# Installing PowerShell on CentOS
Expand Down Expand Up @@ -46,7 +46,7 @@ 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-preview.10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm`
- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.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`
Expand All @@ -59,13 +59,13 @@ Change the URL in the following shell commands to match the version you need.
On CentOS 7:

```sh
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm
```

On CentOS 8:

```sh
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm
```

## Uninstall PowerShell from CentOS
Expand Down
4 changes: 2 additions & 2 deletions reference/docs-conceptual/install/install-debian.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Debian Linux
ms.date: 10/15/2021
ms.date: 11/03/2021
title: Installing PowerShell on Debian Linux
---
# Installing PowerShell on Debian Linux
Expand Down Expand Up @@ -28,7 +28,7 @@ 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-preview.10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview_7.2.0-preview.10-1.deb_amd64.deb`
- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview_7.2.0-rc.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`
Expand Down
8 changes: 4 additions & 4 deletions reference/docs-conceptual/install/install-fedora.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Fedora Linux
ms.date: 10/15/2021
ms.date: 11/03/2021
title: Installing PowerShell on Fedora Linux
---
# Installing PowerShell on Fedora Linux
Expand Down Expand Up @@ -48,14 +48,14 @@ 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-preview.10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm`
- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.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`

The following shell command installs PowerShell 7.2-preview.10:
The following shell command installs PowerShell 7.2-rc.1:

```sh
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm
```

Use the following shell commands to download and install the package. Change the URL to match the
Expand Down
4 changes: 2 additions & 2 deletions reference/docs-conceptual/install/install-raspbian.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Raspberry Pi OS
ms.date: 10/14/2021
ms.date: 11/03/2021
title: Installing PowerShell on Raspberry Pi OS
---
# Installing PowerShell on Raspberry Pi OS
Expand All @@ -27,7 +27,7 @@ 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-preview.10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-7.2.0-preview.10-linux-arm32.tar.gz`
- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.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`

Expand Down
8 changes: 4 additions & 4 deletions reference/docs-conceptual/install/install-rhel.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Red Hat Enterprise Linux (RHEL)
ms.date: 10/15/2021
ms.date: 11/03/2021
title: Installing PowerShell on Red Hat Enterprise Linux (RHEL)
---
# Installing PowerShell on Red Hat Enterprise Linux (RHEL)
Expand Down Expand Up @@ -59,7 +59,7 @@ 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-preview.10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm`
- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.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`
Expand All @@ -73,13 +73,13 @@ 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.0-preview.10/powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm
```

On RHEL 8:

```sh
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm
```

## Uninstallation - Red Hat Enterprise Linux (RHEL) 7
Expand Down
9 changes: 4 additions & 5 deletions reference/docs-conceptual/install/install-ubuntu.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Ubuntu
ms.date: 10/15/2021
ms.date: 11/03/2021
title: Installing PowerShell on Ubuntu
---
# Installing PowerShell on Ubuntu
Expand All @@ -23,7 +23,6 @@ Ubuntu uses APT (Advanced Package Tool) as a package manager.
PowerShell for Linux is published to package repositories for easy installation and updates. The URL
to the package varies by OS version:

- Ubuntu 21.04 - `https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb`
- Ubuntu 20.04 - `https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb`
- Ubuntu 18.04 - `https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb`

Expand Down Expand Up @@ -56,8 +55,8 @@ 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-preview.10 (universal package) for any support version of Ubuntu
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview_7.2.0-preview.10-1.deb_amd64.deb`
- PowerShell 7.2-rc.1 (universal package) for any support version of Ubuntu
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview_7.2.0-rc.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`
Expand All @@ -70,7 +69,7 @@ the version you downloaded.

```sh
# Install the downloaded package
sudo dpkg -i powershell-preview_7.2.0-preview.10-1.deb_amd64.deb
sudo dpkg -i powershell-preview_7.2.0-rc.1-1.deb_amd64.deb

# Resolve missing dependencies and finish the install (if necessary)
sudo apt-get install -f
Expand Down