Skip to content

Commit f6c5d08

Browse files
authored
Fixes #11733 - Update install docs for 7.5 (#11735)
* Update install docs for 7.5 * fix links
1 parent 3c39ac8 commit f6c5d08

File tree

10 files changed

+162
-147
lines changed

10 files changed

+162
-147
lines changed

reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md

Lines changed: 69 additions & 103 deletions
Large diffs are not rendered by default.

reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on macOS
3-
ms.date: 01/23/2025
3+
ms.date: 01/27/2025
44
title: Installing PowerShell on macOS
55
---
66

@@ -16,6 +16,8 @@ check the list of [Supported versions][06] below.
1616
> need to run PowerShell 7.4 side-by-side with a previous version, reinstall the previous version
1717
> using the [binary archive][04] method.
1818
19+
[!INCLUDE [Latest version](../../includes/latest-install.md)]
20+
1921
## Install the latest stable release of PowerShell
2022

2123
There are several ways to install PowerShell on macOS. Choose one of the following methods:
@@ -119,21 +121,21 @@ are:
119121
- PowerShell 7.4
120122
- x64 processors - [powershell-7.4.7-osx-x64.pkg][20]
121123
- Arm64 processors - [powershell-7.4.7-osx-arm64.pkg][18]
122-
- PowerShell 7.5-rc.1
124+
- PowerShell 7.5
123125
- x64 processors - [powershell-7.5.0-osx-x64.pkg][24]
124126
- Arm64 processors - [powershell-7.5.0-arm64.pkg][22]
125127

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

129131
```sh
130-
sudo installer -pkg ./Downloads/powershell-7.4.7-osx-x64.pkg -target /
132+
sudo installer -pkg ./Downloads/powershell-7.5.0-osx-x64.pkg -target /
131133
```
132134

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

136-
> "powershell-7.4.7-osx-x64.pkg" cannot be opened because Apple cannot check it for malicious
138+
> "powershell-7.5.0-osx-x64.pkg" cannot be opened because Apple cannot check it for malicious
137139
> software.
138140
139141
There are two ways to work around this issue:
@@ -146,7 +148,7 @@ Using the Finder
146148

147149
From the command line
148150

149-
1. Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.4.7-osx-x64.pkg`. If you are using
151+
1. Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.5.0-osx-x64.pkg`. If you are using
150152
PowerShell 7 or higher, you can use the `Unblock-File` cmdlet. Include the full path to the
151153
`.pkg` file.
152154
1. Install the package as you normally would.
@@ -197,7 +199,7 @@ match the version you want to install.
197199

198200
```sh
199201
# Download the powershell '.tar.gz' archive
200-
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-osx-x64.tar.gz
202+
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell-7.5.0-osx-x64.tar.gz
201203

202204
# Create the target folder where powershell is placed
203205
sudo mkdir -p /usr/local/microsoft/powershell/7

reference/docs-conceptual/install/community-support.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: PowerShell can run on Linux distributions that aren't officially supported by Microsoft.
3-
ms.date: 01/23/2025
3+
ms.date: 01/27/2025
44
title: Community support for PowerShell on Linux
55
---
66
# Community support for PowerShell on Linux
@@ -77,9 +77,12 @@ the following article provides information on how to install PowerShell on openS
7777
Download the tar.gz package from the [releases][09] page onto your Raspberry Pi computer. The links
7878
to the current versions are:
7979

80-
- PowerShell 7.4.7 - latest LTS release
80+
- PowerShell 7.4 - latest LTS release
8181
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-arm32.tar.gz`
8282
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-arm64.tar.gz`
83+
- PowerShell 7.5 - latest stable release
84+
- `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell-7.5.0-linux-arm32.tar.gz`
85+
- `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell-7.5.0-linux-arm64.tar.gz`
8386

8487
Use the following shell commands to download and install the package. This script detects whether
8588
you're running a 32-bit or 64-bit OS and installs the latest stable version of PowerShell for that

reference/docs-conceptual/install/install-alpine.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on Alpine Linux
3-
ms.date: 01/23/2025
3+
ms.date: 01/27/2025
44
title: Installing PowerShell on Alpine Linux
55
---
66
# Installing PowerShell on Alpine Linux
@@ -15,13 +15,15 @@ check the list of [Supported versions][02] below.
1515
> need to run PowerShell 7.4 side-by-side with a previous version, reinstall the previous version
1616
> using the [binary archive][05] method.
1717
18+
[!INCLUDE [Latest version](../../includes/latest-install.md)]
19+
1820
## Installation steps
1921

2022
Installation on Alpine is based on downloading tar.gz package from the [releases][03] page. The URL
2123
to the package depends on the version of PowerShell you want to install.
2224

23-
- PowerShell 7.4.7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-musl-x64.tar.gz`
24-
- PowerShell 7.5.0 - `https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-7.5.0-linux-musl-x64.tar.gz`
25+
- PowerShell 7.4 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-musl-x64.tar.gz`
26+
- PowerShell 7.5 - `https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-7.5.0-linux-musl-x64.tar.gz`
2527

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

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

4951
# Download the powershell '.tar.gz' archive
50-
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz
52+
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell-7.5.0-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz
5153

5254
# Create the target folder where powershell will be placed
5355
sudo mkdir -p /opt/microsoft/powershell/7

reference/docs-conceptual/install/install-debian.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ All packages are available on our GitHub [releases][02] page. Before installing,
1717
1818
Debian uses APT (Advanced Package Tool) as a package manager.
1919

20+
[!INCLUDE [Latest version](../../includes/latest-install.md)]
21+
2022
## Installation on Debian 11 or 12 via the Package Repository
2123

2224
Microsoft builds and supports a variety of software products for Linux systems and makes them
@@ -71,7 +73,7 @@ The link to the current version is:
7173

7274
- PowerShell 7.4 (LTS) universal package for supported versions of Debian
7375
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell_7.4.7-1.deb_amd64.deb`
74-
- PowerShell 7.5-preview universal package for supported versions of Debian
76+
- PowerShell 7.5 universal package for supported versions of Debian
7577
- `https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-preview_7.5.0-1.deb_amd64.deb`
7678

7779
The following shell script downloads and installs the current release of PowerShell. You can
@@ -88,17 +90,17 @@ sudo apt-get update
8890
sudo apt-get install -y wget
8991

9092
# Download the PowerShell package file
91-
wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell_7.4.7-1.deb_amd64.deb
93+
wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell_7.5.0-1.deb_amd64.deb
9294

9395
###################################
9496
# Install the PowerShell package
95-
sudo dpkg -i powershell_7.4.7-1.deb_amd64.deb
97+
sudo dpkg -i powershell_7.5.0-1.deb_amd64.deb
9698

9799
# Resolve missing dependencies and finish the install (if necessary)
98100
sudo apt-get install -f
99101

100102
# Delete the downloaded package file
101-
rm powershell_7.4.7-1.deb_amd64.deb
103+
rm powershell_7.5.0-1.deb_amd64.deb
102104

103105
# Start PowerShell
104106
pwsh

reference/docs-conceptual/install/install-other-linux.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on various Linux distributions
3-
ms.date: 01/23/2025
3+
ms.date: 01/27/2025
44
title: Alternate ways to install PowerShell on Linux
55
---
66
# Alternate ways to install PowerShell on Linux
@@ -132,16 +132,16 @@ archive.
132132
The following example shows the steps for installing the x64 binary archive. You must choose the
133133
correct binary archive that matches the processor type for your platform.
134134

135-
- `powershell-7.4.7-linux-arm32.tar.gz`
136-
- `powershell-7.4.7-linux-arm64.tar.gz`
137-
- `powershell-7.4.7-linux-x64.tar.gz`
135+
- `powershell-7.5.0-linux-arm32.tar.gz`
136+
- `powershell-7.5.0-linux-arm64.tar.gz`
137+
- `powershell-7.5.0-linux-x64.tar.gz`
138138

139139
Use the following shell commands to download and install PowerShell from the `tar.gz` binary
140140
archive. Change the URL to match the version of PowerShell you want to install.
141141

142142
```sh
143143
# Download the powershell '.tar.gz' archive
144-
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-linux-x64.tar.gz
144+
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell-7.5.0-linux-x64.tar.gz
145145

146146
# Create the target folder where powershell will be placed
147147
sudo mkdir -p /opt/microsoft/powershell/7

reference/docs-conceptual/install/install-rhel.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ All packages are available on our GitHub [releases][02] page. Before installing,
1717
1818
RHEL 7 uses `yum` and RHEL 8 and higher uses the `dnf` package manager.
1919

20+
[!INCLUDE [Latest version](../../includes/latest-install.md)]
21+
2022
## Installation via the Package Repository
2123

2224
Microsoft builds and supports a variety of software products for Linux systems and makes them
@@ -75,7 +77,7 @@ change the URL to download the version of PowerShell that you want to install.
7577
On RHEL 8 or 9:
7678

7779
```sh
78-
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-1.rh.x86_64.rpm
80+
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell-7.5.0-1.rh.x86_64.rpm
7981
```
8082

8183
## Uninstall PowerShell

reference/docs-conceptual/install/install-ubuntu.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on Ubuntu
3-
ms.date: 01/23/2025
3+
ms.date: 01/27/2025
44
title: Installing PowerShell on Ubuntu
55
---
66
# Installing PowerShell on Ubuntu
@@ -17,6 +17,8 @@ check the list of [Supported versions][04] below. After the package is installed
1717
1818
Ubuntu uses APT (Advanced Package Tool) as a package manager.
1919

20+
[!INCLUDE [Latest version](../../includes/latest-install.md)]
21+
2022
## Installation via Package Repository the Package Repository
2123

2224
Microsoft builds and supports a variety of software products for Linux systems and makes them
@@ -83,7 +85,7 @@ The link to the current version is:
8385

8486
- PowerShell 7.4 (LTS) universal package for supported versions of Ubuntu
8587
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell_7.4.7-1.deb_amd64.deb`
86-
- PowerShell 7.5.0 universal package for supported versions of Ubuntu
88+
- PowerShell 7.5 universal package for supported versions of Ubuntu
8789
- `https://github.com/PowerShell/PowerShell/releases/download/7.5.0/powershell-preview_7.5.0-1.deb_amd64.deb`
8890

8991
The following shell script downloads and installs the current preview release of PowerShell. You can
@@ -100,17 +102,17 @@ sudo apt-get update
100102
sudo apt-get install -y wget
101103

102104
# Download the PowerShell package file
103-
wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell_7.4.7-1.deb_amd64.deb
105+
wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell_7.5.0-1.deb_amd64.deb
104106

105107
###################################
106108
# Install the PowerShell package
107-
sudo dpkg -i powershell_7.4.7-1.deb_amd64.deb
109+
sudo dpkg -i powershell_7.5.0-1.deb_amd64.deb
108110

109111
# Resolve missing dependencies and finish the install (if necessary)
110112
sudo apt-get install -f
111113

112114
# Delete the downloaded package file
113-
rm powershell_7.4.7-1.deb_amd64.deb
115+
rm powershell_7.5.0-1.deb_amd64.deb
114116

115117
# Start PowerShell Preview
116118
pwsh
Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Remoting in PowerShell using WSMan
3-
ms.date: 10/03/2023
3+
ms.date: 01/27/2025
44
title: Using WS-Management (WSMan) Remoting in PowerShell
55
---
66
# Using WS-Management (WSMan) Remoting in PowerShell
@@ -10,54 +10,66 @@ title: Using WS-Management (WSMan) Remoting in PowerShell
1010
To enable PowerShell remoting run the `Enable-PSRemoting` cmdlet in an elevated PowerShell session.
1111
Running `Enable-PSRemoting` configures a remoting endpoint for the specific installation version
1212
that you are running the cmdlet in. For example, when you run `Enable-PSRemoting` while running
13-
PowerShell 7.3, PowerShell creates a remoting endpoint runs PowerShell 7.3. If you run
13+
PowerShell 7.4, PowerShell creates a remoting endpoint runs PowerShell 7.4. If you run
1414
`Enable-PSRemoting` while running PowerShell 7-preview, PowerShell creates a remoting endpoint that
1515
runs PowerShell 7-preview. You can create multiple remoting endpoints for different versions of that
1616
run side-by-side.
1717

1818
Running `Enable-PSRemoting` creates two endpoints for that version.
1919

2020
- One has a simple name corresponding to the PowerShell major version. that hosts the session. For
21-
example, **PowerShell.7.3**.
22-
- The other configuration name contains the full version number. For example, **PowerShell.7.3.7**.
21+
example, **PowerShell.7.4**.
22+
- The other configuration name contains the full version number. For example, **PowerShell.7.4.7**.
2323

2424
You can connect to the latest version of PowerShell 7 host version using the simple name,
25-
**PowerShell.7.3**. You can connect to a specific version of PowerShell using the longer,
25+
**PowerShell.7.4**. You can connect to a specific version of PowerShell using the longer,
2626
version-specific name.
2727

2828
Use the **ConfigurationName** parameter with the `New-PSSession` and `Enter-PSSession` cmdlets to
2929
connect to a named configuration.
3030

31+
## Remoting to older versions of Windows
32+
33+
The following prerequisites must be met to enable PowerShell remoting over WSMan on older versions
34+
of Windows.
35+
36+
- Install the Windows Management Framework (WMF) 5.1 (as necessary). For more information about WMF,
37+
see [WMF Overview][01].
38+
- Install the [Universal C Runtime][03] on Windows versions predating Windows 10. It's available via
39+
direct download or Windows Update. Fully patched systems already have this package installed.
40+
3141
## WSMan remoting isn't supported on non-Windows platforms
3242

3343
Since the release of PowerShell 6, support for remoting over WS-Management (WSMan) on non-Windows
3444
platforms has only been available to a limited set of Linux distributions. All versions of those
3545
distributions that supported WSMan are no longer supported by the Linux vendors that created them.
3646

37-
On non-Windows, WSMan relied on the [Open Management Infrastructure (OMI)][01] project, which no
47+
On non-Windows, WSMan relied on the [Open Management Infrastructure (OMI)][02] project, which no
3848
longer supports PowerShell remoting. The OMI WSMan client is dependent on **OpenSSL 1.0**. Most
3949
Linux distributions have moved to **OpenSSL 2.0**, which isn't backward-compatible. At this time,
4050
there is no supported distribution that has the dependencies needed for the OMI WSMan client to
4151
work.
4252

4353
The outdated libraries and supporting code have been removed for non-Windows platforms. WSMan-based
4454
remoting is still supported between Windows systems. Remoting over SSH is supported for all
45-
platforms. For more information, see [PowerShell remoting over SSH][03].
55+
platforms. For more information, see [PowerShell remoting over SSH][05].
4656

4757
> [!NOTE]
48-
> Users may be able to get WSMan remoting to work using the [PSWSMan][02] module. This module isn't
58+
> Users may be able to get WSMan remoting to work using the [PSWSMan][04] module. This module isn't
4959
> supported or maintained by Microsoft.
5060
5161
## Further reading
5262

53-
- [Enable-PSRemoting][04]
54-
- [Enter-PSSession][05]
55-
- [New-PSSession][06]
63+
- [Enable-PSRemoting][06]
64+
- [Enter-PSSession][07]
65+
- [New-PSSession][08]
5666

5767
<!-- link references -->
58-
[01]: https://github.com/Microsoft/omi
59-
[02]: https://www.powershellgallery.com/packages/PSWSMan
60-
[03]: SSH-Remoting-in-PowerShell.md
61-
[04]: xref:Microsoft.PowerShell.Core.Enable-PSRemoting
62-
[05]: xref:Microsoft.PowerShell.Core.Enter-PSSession
63-
[06]: xref:Microsoft.PowerShell.Core.New-PSSession
68+
[01]: ../../windows-powershell/wmf-overview.md
69+
[02]: https://github.com/Microsoft/omi
70+
[03]: https://www.microsoft.com/download/details.aspx?id=50410
71+
[04]: https://www.powershellgallery.com/packages/PSWSMan
72+
[05]: SSH-Remoting-in-PowerShell.md
73+
[06]: xref:Microsoft.PowerShell.Core.Enable-PSRemoting
74+
[07]: xref:Microsoft.PowerShell.Core.Enter-PSSession
75+
[08]: xref:Microsoft.PowerShell.Core.New-PSSession

reference/includes/latest-install.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
author: sdwheeler
3+
ms.author: sewhee
4+
ms.date: 01/27/2025
5+
ms.topic: include
6+
---
7+
<!-- markdownlint-disable first-line-h1 -->
8+
> [!NOTE]
9+
> The installation commands in this article are for the latest stable release of PowerShell. To
10+
> install a different version of PowerShell, adjust the command to match the version you need. The
11+
> following links direct you to the release page for each version in the PowerShell repository on
12+
> GitHub.
13+
>
14+
> - v7.5.0 - Stable release: [https://aka.ms/powershell-release?tag=stable][03]
15+
> - v7.4.7 - LTS release: [https://aka.ms/powershell-release?tag=lts][01]
16+
> - v7.6.0-preview.2 - Preview release: [https://aka.ms/powershell-release?tag=preview][02]
17+
>
18+
> Download links for every package are found in the **Assets** section of the Release page. The
19+
> **Assets** section may be collapsed, so you may need to click to expand it.
20+
21+
<!-- link references -->
22+
[01]: https://aka.ms/powershell-release?tag=lts
23+
[02]: https://aka.ms/powershell-release?tag=preview
24+
[03]: https://aka.ms/powershell-release?tag=stable

0 commit comments

Comments
 (0)