diff --git a/reference/7.4/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md b/reference/7.4/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md index 51b4bef3febd..92acad039aee 100644 --- a/reference/7.4/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md +++ b/reference/7.4/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility -ms.date: 01/19/2023 +ms.date: 04/20/2026 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-powershelldatafile?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Import-PowerShellDataFile @@ -33,8 +33,7 @@ The `Import-PowerShellDataFile` cmdlet safely imports key-value pairs from hasht `.psd1` file. The values could be imported using `Invoke-Expression` on the contents of the file. However, `Invoke-Expression` runs any code contained in the file. This could produce unwanted results or execute unsafe code. `Import-PowerShellDataFile` imports the data without invoking the -code. By default there is a 500 key limit, but this can be bypassed with the **SkipLimitCheck** -switch. +code. ## EXAMPLES @@ -106,8 +105,13 @@ Accept wildcard characters: True ### -SkipLimitCheck -By default `Import-PowerShellDataFile` imports only 500 keys from a `.psd1` file. Use -**SkipLimitCheck** to import more than 500 keys. +By default `Import-PowerShellDataFile` is limited to 500 keys containing a maximum of 5000 AST +nodes when importing from a `.psd1` file. Use **SkipLimitCheck** to bypass these limits. + +> [!IMPORTANT] +> You should only bypass the limits if you are sure the file is safe to import. It's possible for a +> malicious actor to create a `.psd1` file with a large number of keys or AST nodes that could +> result in a denial of service. ```yaml Type: Switch diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md b/reference/7.5/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md index d6612a0c0faf..db7275d23d20 100644 --- a/reference/7.5/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md +++ b/reference/7.5/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility -ms.date: 01/19/2023 +ms.date: 04/20/2026 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-powershelldatafile?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: Import-PowerShellDataFile @@ -33,8 +33,7 @@ The `Import-PowerShellDataFile` cmdlet safely imports key-value pairs from hasht `.psd1` file. The values could be imported using `Invoke-Expression` on the contents of the file. However, `Invoke-Expression` runs any code contained in the file. This could produce unwanted results or execute unsafe code. `Import-PowerShellDataFile` imports the data without invoking the -code. By default there is a 500 key limit, but this can be bypassed with the **SkipLimitCheck** -switch. +code. ## EXAMPLES @@ -106,8 +105,13 @@ Accept wildcard characters: True ### -SkipLimitCheck -By default `Import-PowerShellDataFile` imports only 500 keys from a `.psd1` file. Use -**SkipLimitCheck** to import more than 500 keys. +By default `Import-PowerShellDataFile` is limited to 500 keys containing a maximum of 5000 AST +nodes when importing from a `.psd1` file. Use **SkipLimitCheck** to bypass these limits. + +> [!IMPORTANT] +> You should only bypass the limits if you are sure the file is safe to import. It's possible for a +> malicious actor to create a `.psd1` file with a large number of keys or AST nodes that could +> result in a denial of service. ```yaml Type: Switch diff --git a/reference/7.6/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md b/reference/7.6/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md index cc36d7103d13..b337d3645dca 100644 --- a/reference/7.6/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md +++ b/reference/7.6/Microsoft.PowerShell.Utility/Import-PowerShellDataFile.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility -ms.date: 01/19/2023 +ms.date: 04/20/2026 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-powershelldatafile?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: Import-PowerShellDataFile @@ -33,8 +33,7 @@ The `Import-PowerShellDataFile` cmdlet safely imports key-value pairs from hasht `.psd1` file. The values could be imported using `Invoke-Expression` on the contents of the file. However, `Invoke-Expression` runs any code contained in the file. This could produce unwanted results or execute unsafe code. `Import-PowerShellDataFile` imports the data without invoking the -code. By default there is a 500 key limit, but this can be bypassed with the **SkipLimitCheck** -switch. +code. ## EXAMPLES @@ -106,8 +105,13 @@ Accept wildcard characters: True ### -SkipLimitCheck -By default `Import-PowerShellDataFile` imports only 500 keys from a `.psd1` file. Use -**SkipLimitCheck** to import more than 500 keys. +By default `Import-PowerShellDataFile` is limited to 500 keys containing a maximum of 5000 AST +nodes when importing from a `.psd1` file. Use **SkipLimitCheck** to bypass these limits. + +> [!IMPORTANT] +> You should only bypass the limits if you are sure the file is safe to import. It's possible for a +> malicious actor to create a `.psd1` file with a large number of keys or AST nodes that could +> result in a denial of service. ```yaml Type: Switch diff --git a/reference/docs-conceptual/dev-cross-plat/performance/parallel-execution.md b/reference/docs-conceptual/dev-cross-plat/performance/parallel-execution.md index 83eb50737d34..295b8eb5577f 100644 --- a/reference/docs-conceptual/dev-cross-plat/performance/parallel-execution.md +++ b/reference/docs-conceptual/dev-cross-plat/performance/parallel-execution.md @@ -1,6 +1,6 @@ --- description: The article discusses the performance characteristics of parallel execution to help you choose the best approach for your code. -ms.date: 05/15/2025 +ms.date: 04/21/2026 title: Optimize performance using parallel execution --- # Optimize performance using parallel execution @@ -258,7 +258,7 @@ Conclusions Much of the information is this article is based on the answers from [Santiago Squarzon][04] and [mklement0][05] in this [Stack Overflow post][03]. -You may also be interested in the [PSParallelPipeline][06] module created by Santiago Squarzon. +You might also be interested in the [PSParallelPipeline][06] module created by Santiago Squarzon. ## Further reading diff --git a/reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md b/reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md index 5d27213e9ca4..aeee3bf4c595 100644 --- a/reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md +++ b/reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md @@ -1,6 +1,6 @@ --- description: Details the policies governing support for PowerShell. -ms.date: 04/03/2026 +ms.date: 04/21/2026 ms.topic: lifecycle title: PowerShell Support Lifecycle --- @@ -12,12 +12,12 @@ There are multiple versions of PowerShell 7 that can be installed. releases can contain critical fixes, innovations, and new features. Microsoft supports a Stable release for about six months after the next LTS release. - The current Stable release is PowerShell v7.5.5. + The current Stable release is PowerShell v7.5.6. - **Long Term Servicing (LTS) release** - An LTS release of PowerShell is an LTS release of .NET. Updates to an LTS release only contain critical security updates and servicing fixes that are designed to minimize impact on existing workloads. - The current LTS release is PowerShell v7.6.0. The previous LTS release, PowerShell v7.4.14, is + The current LTS release is PowerShell v7.6.1. The previous LTS release, PowerShell v7.4.15, is still supported until 10-Nov-2026. - **Preview release** - A preview release is a version of PowerShell that's currently in development. Preview releases can contain bug fixes, new features, and experiments. Preview diff --git a/reference/docs-conceptual/install/alternate-install-methods.md b/reference/docs-conceptual/install/alternate-install-methods.md index 9301d78ccca9..487939acc177 100644 --- a/reference/docs-conceptual/install/alternate-install-methods.md +++ b/reference/docs-conceptual/install/alternate-install-methods.md @@ -1,6 +1,6 @@ --- description: Alternate ways to install PowerShell on non-Windows platforms. -ms.date: 03/30/2026 +ms.date: 04/21/2026 title: Alternate ways to install PowerShell --- # Alternate ways to install PowerShell @@ -177,16 +177,16 @@ install the necessary dependencies for the target OS in separate steps. The following example shows the steps for installing the x64 binary archive. You must choose the correct binary archive that matches the processor type for your platform. -- `powershell-7.5.5-linux-arm32.tar.gz` -- `powershell-7.5.5-linux-arm64.tar.gz` -- `powershell-7.5.5-linux-x64.tar.gz` +- `powershell-7.6.1-linux-arm32.tar.gz` +- `powershell-7.6.1-linux-arm64.tar.gz` +- `powershell-7.6.1-linux-x64.tar.gz` Use the following shell commands to download and install PowerShell from the `tar.gz` binary archive. Change the URL to match the version of PowerShell you want to install. ```sh # Download the powershell '.tar.gz' archive -curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-linux-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-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/community-support.md b/reference/docs-conceptual/install/community-support.md index dbc6f58fdc78..56f8234fbc3d 100644 --- a/reference/docs-conceptual/install/community-support.md +++ b/reference/docs-conceptual/install/community-support.md @@ -1,6 +1,6 @@ --- description: PowerShell can run on Linux distributions that aren't officially supported by Microsoft. -ms.date: 03/12/2026 +ms.date: 04/21/2026 title: Community support for PowerShell on Linux --- # Community support for PowerShell on Linux @@ -81,12 +81,15 @@ Or you can install PowerShell on Raspberry Pi OS using the binary archives. Down package from the [releases][09] page onto your Raspberry Pi computer. The links to the current versions are: -- PowerShell 7.4 - latest LTS release - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell-7.4.14-linux-arm32.tar.gz` - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell-7.4.14-linux-arm64.tar.gz` +- PowerShell 7.6 - latest LTS release + - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-linux-arm32.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-linux-arm64.tar.gz` - PowerShell 7.5 - latest stable release - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-linux-arm32.tar.gz` - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-linux-arm64.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell-7.5.6-linux-arm32.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell-7.5.6-linux-arm64.tar.gz` +- PowerShell 7.4 - previous LTS release + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell-7.4.15-linux-arm32.tar.gz` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell-7.4.15-linux-arm64.tar.gz` Use the following shell commands to download and install the package. This script detects whether you're running a 32-bit or 64-bit OS and installs the latest stable version of PowerShell for that diff --git a/reference/docs-conceptual/install/install-alpine.md b/reference/docs-conceptual/install/install-alpine.md index b93823e1a441..4dde62e5f949 100644 --- a/reference/docs-conceptual/install/install-alpine.md +++ b/reference/docs-conceptual/install/install-alpine.md @@ -1,6 +1,6 @@ --- description: How to install PowerShell on Alpine Linux -ms.date: 03/18/2026 +ms.date: 04/21/2026 title: Install PowerShell 7 on Alpine Linux --- # Install PowerShell 7 on Alpine Linux @@ -19,9 +19,9 @@ with a previous version, reinstall the previous version using the [binary archiv On Alpine Linux, PowerShell is installed from the `tar.gz` package downloaded from the [releases][01] page. Select the URL of the package version you want to install. -- PowerShell 7.6 (LTS) - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell-7.6.0-linux-musl-x64.tar.gz` -- PowerShell 7.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-linux-musl-x64.tar.gz` -- PowerShell 7.4 (LTS) - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell-7.4.14-linux-musl-x64.tar.gz` +- PowerShell 7.6 (LTS) - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-linux-musl-x64.tar.gz` +- PowerShell 7.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell-7.5.6-linux-musl-x64.tar.gz` +- PowerShell 7.4 (LTS) - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell-7.4.15-linux-musl-x64.tar.gz` Use the following shell commands to install PowerShell 7: @@ -48,7 +48,7 @@ apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \ openssh-client \ # Download the powershell '.tar.gz' archive -curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell-7.6.0-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz +curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.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 d5608f992354..e26d7c2dfbc1 100644 --- a/reference/docs-conceptual/install/install-debian.md +++ b/reference/docs-conceptual/install/install-debian.md @@ -1,6 +1,6 @@ --- description: How to install PowerShell on Debian Linux -ms.date: 03/31/2026 +ms.date: 04/21/2026 title: Install PowerShell 7 on Debian --- # Install PowerShell 7 on Debian @@ -73,11 +73,11 @@ Download the universal package from the GitHub releases page. Choose the link fo want to install. - PowerShell 7.6 (LTS) universal package for supported versions of Debian - - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell_7.6.0-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell_7.6.1-1.deb_amd64.deb` - PowerShell 7.5 universal package for supported versions of Debian - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell_7.5.5-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell_7.5.6-1.deb_amd64.deb` - PowerShell 7.4 (LTS) universal package for supported versions of Debian - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell_7.4.14-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell_7.4.15-1.deb_amd64.deb` The following shell script downloads and installs the current release of PowerShell. You can change the URL to download the version of PowerShell that you want to install. @@ -94,17 +94,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.6.0/powershell_7.6.0-1.deb_amd64.deb +wget https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell_7.6.1-1.deb_amd64.deb ################################### # Install the PowerShell package -sudo dpkg -i powershell_7.6.0-1.deb_amd64.deb +sudo dpkg -i powershell_7.6.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.6.0-1.deb_amd64.deb +rm powershell_7.6.1-1.deb_amd64.deb # Start PowerShell pwsh diff --git a/reference/docs-conceptual/install/install-powershell-on-macos.md b/reference/docs-conceptual/install/install-powershell-on-macos.md index 3a265d301c3a..93faf5794673 100644 --- a/reference/docs-conceptual/install/install-powershell-on-macos.md +++ b/reference/docs-conceptual/install/install-powershell-on-macos.md @@ -1,6 +1,6 @@ --- description: How to install PowerShell on macOS -ms.date: 03/18/2026 +ms.date: 04/21/2026 title: Install PowerShell 7 on macOS --- @@ -17,7 +17,8 @@ with a previous version, reinstall the previous version using the binary archive ## Choose an installation method -There are several ways to install PowerShell on macOS. +There are several ways to install PowerShell on macOS. If you previously installed PowerShell using +Homebrew, see _Install on macOS using Homebrew_ in [Alternate ways to install PowerShell][03]. ### Manually download and install the package @@ -25,14 +26,14 @@ Download the install package from the [releases][04] page. Select the package ve install. - PowerShell 7.6 (LTS) - - Arm64 processors - [powershell-7.6.0-osx-arm64.pkg][13] - - x64 processors - [powershell-7.6.0-osx-x64.pkg][15] + - Arm64 processors - [powershell-7.6.1-osx-arm64.pkg][13] + - x64 processors - [powershell-7.6.1-osx-x64.pkg][15] - PowerShell 7.5 - - Arm64 processors - [powershell-7.5.5-osx-arm64.pkg][09] - - x64 processors - [powershell-7.5.5-osx-x64.pkg][11] + - Arm64 processors - [powershell-7.5.6-osx-arm64.pkg][09] + - x64 processors - [powershell-7.5.6-osx-x64.pkg][11] - PowerShell 7.4 (LTS) - - Arm64 processors - [powershell-7.4.14-osx-arm64.pkg][05] - - x64 processors - [powershell-7.4.14-osx-x64.pkg][07] + - Arm64 processors - [powershell-7.4.15-osx-arm64.pkg][05] + - x64 processors - [powershell-7.4.15-osx-x64.pkg][07] There are two ways to install PowerShell using the downloaded package. @@ -46,9 +47,9 @@ Install PowerShell using Finder: You will receive the following error message when installing the package: - > "powershell-7.5.5-osx-arm64.pkg" Not Opened + > "powershell-7.5.6-osx-arm64.pkg" Not Opened > - > Apple could not verify "powershell-7.5.5-osx-arm64.pkg" is free from malware that may harm + > Apple could not verify "powershell-7.5.6-osx-arm64.pkg" is free from malware that may harm > your Mac or compromise your privacy. 1. Select the **Done** button to close the prompt. @@ -72,12 +73,12 @@ one of the following methods to install the package: - Run the `installer` command with the **allowUntrusted** flag: ```sh - sudo installer -allowUntrusted -pkg ./Downloads/powershell-7.5.5-osx-arm64.pkg -target / + sudo installer -allowUntrusted -pkg ./Downloads/powershell-7.5.6-osx-arm64.pkg -target / ``` - Or install the package as you normally would after running one of the following commands: - - Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.5.5-osx-arm64.pkg`. + - Run `sudo xattr -rd com.apple.quarantine ./Downloads/powershell-7.5.6-osx-arm64.pkg`. - Use the `Unblock-File` cmdlet if you're using PowerShell. Include the full path to the `.pkg` file. @@ -104,21 +105,21 @@ Download the install package from the [releases][04] page onto your Mac. Select you want to install. - PowerShell 7.6 (LTS) - - Arm64 processors - [powershell-7.6.0-osx-arm64.tar.gz][14] - - x64 processors - [powershell-7.6.0-osx-x64.tar.gz][16] + - Arm64 processors - [powershell-7.6.1-osx-arm64.tar.gz][14] + - x64 processors - [powershell-7.6.1-osx-x64.tar.gz][16] - PowerShell 7.5 - - Arm64 processors - [powershell-7.5.5-osx-arm64.tar.gz][10] - - x64 processors - [powershell-7.5.5-osx-x64.tar.gz][12] + - Arm64 processors - [powershell-7.5.6-osx-arm64.tar.gz][10] + - x64 processors - [powershell-7.5.6-osx-x64.tar.gz][12] - PowerShell 7.4 (LTS) - - Arm64 processors - [powershell-7.4.14-osx-arm64.tar.gz][06] - - x64 processors - [powershell-7.4.14-osx-x64.tar.gz][08] + - Arm64 processors - [powershell-7.4.15-osx-arm64.tar.gz][06] + - x64 processors - [powershell-7.4.15-osx-x64.tar.gz][08] 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.6.0/powershell-7.6.0-osx-arm64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-osx-arm64.tar.gz # Create the target folder where powershell is placed sudo mkdir -p /usr/local/microsoft/powershell/7 @@ -180,20 +181,20 @@ can't support those methods. For more information, see [Alternate ways to instal [01]: /dotnet/core/sdk [02]: /dotnet/core/tools/global-tools -[03]: alternate-install-methods.md +[03]: alternate-install-methods.md#install-on-macos-using-homebrew [04]: https://aka.ms/powershell-release?tag=stable -[05]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell-7.4.14-osx-arm64.pkg -[06]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell-7.4.14-osx-arm64.tar.gz -[07]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell-7.4.14-osx-x64.pkg -[08]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell-7.4.14-osx-x64.tar.gz -[09]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-osx-arm64.pkg -[10]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-osx-arm64.tar.gz -[11]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-osx-x64.pkg -[12]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-osx-x64.tar.gz -[13]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell-7.6.0-osx-arm64.pkg -[14]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell-7.6.0-osx-arm64.tar.gz -[15]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell-7.6.0-osx-x64.pkg -[16]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell-7.6.0-osx-x64.tar.gz +[05]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell-7.4.15-osx-arm64.pkg +[06]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell-7.4.15-osx-arm64.tar.gz +[07]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell-7.4.15-osx-x64.pkg +[08]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell-7.4.15-osx-x64.tar.gz +[09]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell-7.5.6-osx-arm64.pkg +[10]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell-7.5.6-osx-arm64.tar.gz +[11]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell-7.5.6-osx-x64.pkg +[12]: https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell-7.5.6-osx-x64.tar.gz +[13]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-osx-arm64.pkg +[14]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-osx-arm64.tar.gz +[15]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-osx-x64.pkg +[16]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-osx-x64.tar.gz [17]: https://specifications.freedesktop.org/basedir/latest/ [18]: https://support.apple.com/102445 [19]: PowerShell-Support-Lifecycle.md diff --git a/reference/docs-conceptual/install/install-powershell-on-windows-iot-nano.md b/reference/docs-conceptual/install/install-powershell-on-windows-iot-nano.md index d4c97a8eac24..a1042886c7a8 100644 --- a/reference/docs-conceptual/install/install-powershell-on-windows-iot-nano.md +++ b/reference/docs-conceptual/install/install-powershell-on-windows-iot-nano.md @@ -1,6 +1,6 @@ --- description: How to install PowerShell on Windows IoT and Nano Server. -ms.date: 03/18/2026 +ms.date: 04/21/2026 title: Install PowerShell 7 on Windows IoT and Nano Server --- # Install PowerShell 7 on Windows IoT and Nano Server @@ -14,7 +14,7 @@ Windows 11 IoT Enterprise comes with Windows PowerShell, which is used to deploy ```powershell # Replace the placeholder information for the following variables: $deviceip = '' -$zipfile = 'PowerShell-7.6.0-win-arm64.zip' +$zipfile = 'PowerShell-7.6.1-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. @@ -28,10 +28,10 @@ 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.6.0-win-arm64.zip +Expand-Archive .\PowerShell-7.6.1-win-arm64.zip # Set up remoting to PowerShell 7 -Set-Location .\PowerShell-7.6.0-win-arm64 +Set-Location .\PowerShell-7.6.1-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 . @@ -43,7 +43,7 @@ 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.6.0 +Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.6.1 ``` Windows 11 IoT Core adds Windows PowerShell when you include _IOT_POWERSHELL_ feature. Use Windows @@ -87,7 +87,7 @@ Deploy PowerShell to Nano Server using the following steps. # Replace the placeholder information for the following variables: $ipaddr = '' $credential = Get-Credential # -$zipfile = 'PowerShell-7.6.0-win-x64.zip' +$zipfile = 'PowerShell-7.6.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 @@ -95,7 +95,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.6.0-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' +Expand-Archive -Path C:\PowerShell-7.6.1-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' ``` ## Supported versions of Windows @@ -115,4 +115,4 @@ can't support those methods. [01]: /windows-server/get-started/deploy-nano-server [02]: https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease -[03]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/PowerShell-7.6.0-win-x64.zip +[03]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-x64.zip diff --git a/reference/docs-conceptual/install/install-powershell-on-windows.md b/reference/docs-conceptual/install/install-powershell-on-windows.md index 80751e134ac0..aeaf14f4340f 100644 --- a/reference/docs-conceptual/install/install-powershell-on-windows.md +++ b/reference/docs-conceptual/install/install-powershell-on-windows.md @@ -1,6 +1,6 @@ --- description: How to install PowerShell on Windows -ms.date: 03/30/2026 +ms.date: 04/21/2026 title: Install PowerShell 7 on Windows --- # Install PowerShell 7 on Windows @@ -46,14 +46,13 @@ Use the following `winget` commands to install PowerShell: Search for the latest version of PowerShell ```powershell -winget search --id Microsoft.PowerShell +winget search --id Microsoft.PowerShell --exact ``` ```Output Name Id Version Source ----------------------------------------------------------------- -PowerShell Microsoft.PowerShell 7.6.0.0 winget -PowerShell Preview Microsoft.PowerShell.Preview 7.6.0.101 winget +PowerShell Microsoft.PowerShell 7.6.1.0 winget ``` Install PowerShell 7: @@ -78,14 +77,14 @@ package from GitHub. Latest stable release: -- [PowerShell-7.6.0-win-x64.msi][15] -- [PowerShell-7.6.0-win-arm64.msi][13] +- [PowerShell-7.6.1-win-x64.msi][15] +- [PowerShell-7.6.1-win-arm64.msi][13] Once downloaded, double-click the installer file and follow the prompts. @@ -129,7 +128,7 @@ installation options: The following example shows how to silently install PowerShell with all the install options enabled. ```powershell -msiexec.exe /package PowerShell-7.6.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.6.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 [Command line options][05]. @@ -139,8 +138,8 @@ For a full list of command-line options for `Msiexec.exe`, see [Command line opt PowerShell binary ZIP archives are provided to enable advanced deployment scenarios. Download one of the following ZIP archives from the [current release][22] page. -- [PowerShell-7.6.0-win-x64.zip][16] -- [PowerShell-7.6.0-win-arm64.zip][14] +- [PowerShell-7.6.1-win-x64.zip][16] +- [PowerShell-7.6.1-win-arm64.zip][14] 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 @@ -323,10 +322,10 @@ can't support those methods. [10]: #msstore [11]: #winget [12]: #zip -[13]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/PowerShell-7.6.0-win-arm64.msi -[14]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/PowerShell-7.6.0-win-arm64.zip -[15]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/PowerShell-7.6.0-win-x64.msi -[16]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/PowerShell-7.6.0-win-x64.zip +[13]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-arm64.msi +[14]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-arm64.zip +[15]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-x64.msi +[16]: https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-x64.zip [22]: https://github.com/PowerShell/PowerShell/releases/latest [23]: https://www.microsoft.com/store/apps/9MZ1SNWT0N5D [24]: media/install-powershell-on-windows/powershell-start-menu.png diff --git a/reference/docs-conceptual/install/install-rhel.md b/reference/docs-conceptual/install/install-rhel.md index a6311f334dab..0672a07541a3 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: 03/31/2026 +ms.date: 04/21/2026 title: Install PowerShell 7 on Red Hat Enterprise Linux (RHEL) --- # Install PowerShell 7 on Red Hat Enterprise Linux (RHEL) @@ -66,17 +66,17 @@ Download the universal package from the GitHub releases page. Select the URL of you want to install. - PowerShell 7.6 (LTS) universal package - - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell-7.6.0-1.rh.x86_64.rpm` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-1.rh.x86_64.rpm` - PowerShell 7.5 universal package - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell-7.5.5-1.rh.x86_64.rpm` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell-7.5.6-1.rh.x86_64.rpm` - PowerShell 7.4 (LTS) universal package - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell-7.4.14-1.rh.x86_64.rpm` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell-7.4.15-1.rh.x86_64.rpm` The following shell script downloads and installs the current release of PowerShell. You can change the URL to download the version of PowerShell that you want to install. ```sh -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell-7.6.0-1.rh.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell-7.6.1-1.rh.x86_64.rpm ``` ## Start PowerShell 7 diff --git a/reference/docs-conceptual/install/install-ubuntu.md b/reference/docs-conceptual/install/install-ubuntu.md index f58be10517f0..b5283dfc27b9 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: 03/31/2026 +ms.date: 04/21/2026 title: Install PowerShell 7 on Ubuntu --- # Install PowerShell 7 on Ubuntu @@ -85,11 +85,11 @@ Download the universal package from the GitHub releases page. Select the URL of you want to install. - PowerShell 7.6 (LTS) universal package - - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.0/powershell_7.6.0-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/powershell_7.6.1-1.deb_amd64.deb` - PowerShell 7.5 universal package - - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell_7.5.5-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell_7.5.6-1.deb_amd64.deb` - PowerShell 7.4 (LTS) universal package - - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.14/powershell_7.4.14-1.deb_amd64.deb` + - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/powershell_7.4.15-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. @@ -106,17 +106,17 @@ sudo apt-get update sudo apt-get install -y wget # Download the PowerShell package file -wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.5/powershell_7.5.5-1.deb_amd64.deb +wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/powershell_7.5.6-1.deb_amd64.deb ################################### # Install the PowerShell package -sudo dpkg -i powershell_7.5.5-1.deb_amd64.deb +sudo dpkg -i powershell_7.5.6-1.deb_amd64.deb # Resolve missing dependencies and finish the install (if necessary) sudo apt-get install -f # Delete the downloaded package file -rm powershell_7.5.5-1.deb_amd64.deb +rm powershell_7.5.6-1.deb_amd64.deb ``` ## Start PowerShell 7 diff --git a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md index 40b965ef387d..3a52f1f68d12 100644 --- a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md +++ b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md @@ -1,13 +1,13 @@ --- title: What's New in PowerShell 7.4 description: New features and changes released in PowerShell 7.4 -ms.date: 03/26/2026 +ms.date: 04/21/2026 --- # What's New in PowerShell 7.4 -PowerShell 7.4.14 includes the following features, updates, and breaking changes. PowerShell 7.4.14 -is built on the .NET 8.0.25 runtime. +PowerShell 7.4.15 includes the following features, updates, and breaking changes. PowerShell 7.4.15 +is built on the .NET 8.0.26 runtime. For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repository. @@ -133,6 +133,8 @@ Many thanks to **@CarloToso** and others for all the work on improving web cmdle ## Other cmdlet improvements +- Update `MaxVisitCount` and `MaxHashtableKeyCount` if `VisitorSafeValueContext` indicates + `SkipLimitCheck` is true for `Import-PowerShellDataFile` - `Test-Connection` now returns error about the need to use `sudo` on Linux platforms when using a custom buffer size ([#20369][20369]) - Add output types to Format commands ([#18746][18746]) (Thanks @MartinGC94!) @@ -178,6 +180,8 @@ Updates to `$PSStyle` Other Engine updates +- Delay update notification for one week to ensure all packages become available ([#27229][27229]) +- Close pipe client handles after creating the child ssh process ([#27139][27139]) - Move .NET method invocation logging to after the needed type conversion is done for method arguments ([#25568][25568]) - Fallback to AppLocker after WldpCanExecuteFile ([#25229][25229]) @@ -339,3 +343,5 @@ For more information about the Experimental Features, see [Using Experimental Fe [21529]: https://github.com/PowerShell/PowerShell/pull/21529 [25229]: https://github.com/PowerShell/PowerShell/pull/25229 [25568]: https://github.com/PowerShell/PowerShell/pull/25568 +[27139]: https://github.com/PowerShell/PowerShell/pull/27139 +[27229]: https://github.com/PowerShell/PowerShell/pull/27229 diff --git a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-75.md b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-75.md index 39a309973ab9..599c8050f324 100644 --- a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-75.md +++ b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-75.md @@ -1,13 +1,13 @@ --- title: What's New in PowerShell 7.5 description: New features and changes released in PowerShell 7.5 -ms.date: 03/26/2026 +ms.date: 04/21/2026 --- # What's New in PowerShell 7.5 -PowerShell 7.5.5 includes the following features, updates, and breaking changes. PowerShell -7.5.5 is built on the .NET 9.0.14 runtime. +PowerShell 7.5.6 includes the following features, updates, and breaking changes. PowerShell +7.5.6 is built on the .NET 9.0.15 runtime. For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repository. For more information about .NET 9, see [What's new in .NET 9][07]. @@ -25,7 +25,7 @@ information about .NET 9, see [What's new in .NET 9][07]. ## Updated modules -PowerShell 7.5.5 includes the following updated modules: +PowerShell 7.5.6 includes the following updated modules: - **Microsoft.PowerShell.PSResourceGet** v1.1.1 - **PSReadLine** v2.3.6 @@ -69,6 +69,8 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co ## Other cmdlet improvements +- Update `MaxVisitCount` and `MaxHashtableKeyCount` if `VisitorSafeValueContext` indicates + `SkipLimitCheck` is true for `Import-PowerShellDataFile` - Close pipe client handles after creating the child ssh process ([#26822][26822]) - Fix the progress preference variable in script cmdlets ([#26791][26791]) (Thanks @cmkb3!) - Fix `Out-GridView` by replacing the use of obsolete `BinaryFormatter` with custom implementation @@ -147,6 +149,7 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co - Validate the value for using namespace during semantic checks to prevent declaring invalid namespaces ([#21162][21162]) - Handle global tool specially when prepending `$PSHOME` to PATH ([#24228][24228]) +- Delay update notification for one week to ensure all packages become available ([#27220][27220]) ## Experimental features @@ -353,3 +356,4 @@ CollectionSize Test TotalMilliseconds RelativeSpeed [26165]: https://github.com/PowerShell/PowerShell/pull/26165 [26791]: https://github.com/PowerShell/PowerShell/pull/26791 [26822]: https://github.com/PowerShell/PowerShell/pull/26822 +[27220]: https://github.com/PowerShell/PowerShell/pull/27220 diff --git a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md index b95f0d88c1e5..6c41d59f2e46 100644 --- a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md +++ b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md @@ -1,13 +1,13 @@ --- title: What's New in PowerShell 7.6 description: New features and changes released in PowerShell 7.6 -ms.date: 04/07/2026 +ms.date: 04/21/2026 --- # What's New in PowerShell 7.6 -PowerShell 7.6 includes the following features, updates, and breaking changes. PowerShell -7.6.0 is built on the .NET 10.0.5 runtime. +PowerShell 7.6.1 includes the following features, updates, and breaking changes. PowerShell +7.6.1 is built on the .NET 10.0.6 runtime. For a complete list of changes, see the [CHANGELOG][log] in the GitHub repository. @@ -15,7 +15,7 @@ For a complete list of changes, see the [CHANGELOG][log] in the GitHub repositor ## Updated modules -PowerShell 7.6 includes the following updated modules: +PowerShell 7.6.1 includes the following updated modules: - **Microsoft.PowerShell.PSResourceGet** v1.2.0 - **PSReadLine** v2.4.5 @@ -91,6 +91,8 @@ PowerShell 7.6 includes the following updated modules: ## Cmdlet improvements +- Update `MaxVisitCount` and `MaxHashtableKeyCount` if `VisitorSafeValueContext` indicates + `SkipLimitCheck` is true for `Import-PowerShellDataFile` - Add implicit localization fallback to `Import-LocalizedData` ([#19896][19896]) (Thanks @chrisdent-de!) - Add `-Delimiter` parameter to `Get-Clipboard` ([#26572][26572]) (Thanks @MartinGC94!) @@ -143,6 +145,7 @@ PowerShell 7.6 includes the following updated modules: ## Engine improvements +- Delay update notification for one week to ensure all packages become available ([#27220][27220]) - Fix a regression in the API `CompletionCompleters.CompleteFilename()` that causes null reference exception ([#26487][26487]) - Close pipe client handles after creating the child ssh process ([#26564][26564]) @@ -302,3 +305,4 @@ This release includes the following experimental features: [26564]: https://github.com/PowerShell/PowerShell/pull/26564 [26571]: https://github.com/PowerShell/PowerShell/pull/26571 [26572]: https://github.com/PowerShell/PowerShell/pull/26572 +[27220]: https://github.com/PowerShell/PowerShell/pull/27220