From 149ab5cd6cad34869177f86ef9a3da8414f85dc6 Mon Sep 17 00:00:00 2001 From: "powershell-pr-automation[bot]" <307760922+powershell-pr-automation[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2026 19:21:50 -0500 Subject: [PATCH 1/4] Update preview changelog for v7.7.0-preview.5 (#28040) Co-authored-by: PwshBot Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Justin Chung --- CHANGELOG/preview.md | 77 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index fab0be18cf4..4e6fbcef398 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -1,5 +1,82 @@ # Preview Changelog +## [7.7.0-preview.5] + +### Engine Updates and Fixes + +- Tolerate IO/JSON errors reading the per-user `powershell.config.json` (#27373) +- Improve remote prompt handling for `PSCredential` and `SecureString` arrays (#28007) +- Improve CAB extraction path handling (#28009) + +### General Cmdlet Updates and Fixes + +- Fix telemetry UUID mutex acquisition (#28026) +- Allow user to force the default implicit formatting to use `AutoSize` (#28018) +- Prevent localization of WPF key gesture strings (#28020) +- Improve pointer lifecycle handling in PdhHelper (#28008) +- Improve validation for `Copy-Item -FromSession` (#28006) +- Handle MSIX installation specially when prepending to PATH (#27782) +- Add `GetImportModuleCommand` method back and check for session restriction in `ShowCommand` (#25557) +- Remove the `` element for from `CmdletizationCoreResources.resx` (#27900) + +### Tools + +- Update `Install-Dotnet` to directly run the install script (#28022) + +### Tests + +- Mark DSC Profile tests pending on MSIX test runs (#27884) +- Fix flaky `Debug-Runspace` attach event test (#27885) +- Fix `LocProject.json` tests and trigger CIs on changes to `LocProject.json` (#27988) +- Fix the localization tests for the Release Automation environment (#27944) + +### Build and Packaging Improvements + +
+ + + +

Update to .NET SDK 11.0.100-rc.1.26425.128

+ +

Update Microsoft.PowerShell.PSResourceGet to 1.3.0-preview2 (#28031)

+ +
+ +
    +
  • Enable .NET 11 early access across release pipelines (#28024)
  • +
  • Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2730146 (#28030)
  • +
  • Update Microsoft.PowerShell.PSResourceGet to 1.3.0-preview2 (#28031)
  • +
  • Support macOS signatures in nonofficial pipelines (#27976)
  • +
  • Add Azure Linux 4 RPM support (#28021)
  • +
  • Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2726204 (#28025)
  • +
  • Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2725870 (#28023)
  • +
  • Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2724482 (#28010)
  • +
  • Simplify Microsoft Store listing metadata (#27968)
  • +
  • Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2716742 (#27983)
  • +
  • Move to the .NET SDK 11-rc.1 for preview release (#27992)
  • +
  • Update metadata.json for September releases (#27989)
  • +
  • Add PDP.xml to the LocProject.json file for localization (#27966)
  • +
  • Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2704971 (#27958)
  • +
  • Enable early .NET builds in APIScan (#27952)
  • +
  • Change Windows test CI to stop using PowerShell 5.1 (#27940)
  • +
  • Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2701735 (#27895)
  • +
  • Update metadata.json for August releases (#27919)
  • +
  • Update AppxManifest.xml to only declare en-US for the <Resources> element (#27939)
  • +
  • Use Custom Validation Policy for vPack Pipeline (#27911)
  • +
  • Bump actions/upload-artifact from 7.0.0 to 7.0.1 (#27261)
  • +
  • Bump actions/setup-dotnet from 5.2.0 to 5.3.0 (#27539)
  • +
  • Bump actions/github-script from 8.0.0 to 9.0.0 (#27249)
  • +
  • Bump github/codeql-action from 4.35.4 to 4.36.0 (#27531)
  • +
+ +
+ +### Documentation and Help Content + +- Correct New-TemporaryDirectory help URI (#27934) + +[7.7.0-preview.5]: https://github.com/PowerShell/PowerShell/compare/v7.7.0-preview.4...v7.7.0-preview.5 + ## [7.7.0-preview.4] ### Engine Updates and Fixes From f7cb648907d49772e22dcb02701850038cd1bc23 Mon Sep 17 00:00:00 2001 From: Justin Chung <124807742+jshigetomi@users.noreply.github.com> Date: Wed, 23 Sep 2026 21:50:50 -0500 Subject: [PATCH 2/4] Publish Azure Linux 4 packages to preview PMC (#28074) Co-authored-by: Justin Chung Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- tools/packages.microsoft.com/mapping.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/packages.microsoft.com/mapping.json b/tools/packages.microsoft.com/mapping.json index 6da204395e3..1e6184bffce 100644 --- a/tools/packages.microsoft.com/mapping.json +++ b/tools/packages.microsoft.com/mapping.json @@ -65,16 +65,14 @@ "distribution": [ "azl" ], - "PackageFormat": "PACKAGE_NAME-POWERSHELL_RELEASE-1.cm.aarch64.rpm", - "channel": "stable" + "PackageFormat": "PACKAGE_NAME-POWERSHELL_RELEASE-1.cm.aarch64.rpm" }, { "url": "azurelinux-4.0-beta-microsoft-x86_64", "distribution": [ "azl" ], - "PackageFormat": "PACKAGE_NAME-POWERSHELL_RELEASE-1.cm.x86_64.rpm", - "channel": "stable" + "PackageFormat": "PACKAGE_NAME-POWERSHELL_RELEASE-1.cm.x86_64.rpm" }, { "url": "microsoft-debian-stretch-prod", From 5f9fcddc28f466ce09d227c6d3bf97b8f3d99bcb Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Fri, 25 Sep 2026 11:04:21 -0700 Subject: [PATCH 3/4] Fix the `PATH` test for MSIX installed PowerShell (#28068) --- test/powershell/Host/ConsoleHost.Tests.ps1 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/test/powershell/Host/ConsoleHost.Tests.ps1 b/test/powershell/Host/ConsoleHost.Tests.ps1 index 542974eb86c..404926f47e0 100644 --- a/test/powershell/Host/ConsoleHost.Tests.ps1 +++ b/test/powershell/Host/ConsoleHost.Tests.ps1 @@ -1190,11 +1190,23 @@ Describe 'Pwsh startup and PATH' -Tag CI { $version | Should -BeExactly "PowerShell $($PSVersionTable.GitCommitId)" } - It 'pwsh starts even if PATH is not defined' { + It 'pwsh updates PATH correctly even if PATH is not defined' { $pwsh = Join-Path -Path $PSHOME -ChildPath "pwsh" Remove-Item Env:\PATH $path = & $pwsh -noprofile -command '$env:PATH' - $path | Should -BeExactly ($PSHOME + [System.IO.Path]::PathSeparator) + + $ExpectedPath = $PSHOME + if ($PSHOME.StartsWith("$env:ProgramFiles\WindowsApps\Microsoft.PowerShell")) { + # MSIX installed PowerShell uses the stable path instead of PSHOME. + $ExpectedPath = $PSHOME.Replace($env:ProgramFiles, "$env:LOCALAPPDATA\Microsoft") + + # Remove the version-specific part from the expected path. + $version = $PSVersionTable.PSVersion + $verStrRegex = "$($version.Major)\.$($version.Minor)\.$($version.Build).+__" + $ExpectedPath = $ExpectedPath -replace $verStrRegex, '' + } + + $path | Should -BeExactly ($ExpectedPath + [System.IO.Path]::PathSeparator) } } From 0b909d0eba6ce8a4a38b0d4a867208ff4296b1e5 Mon Sep 17 00:00:00 2001 From: Andree Renneus <17672644+trackd@users.noreply.github.com> Date: Fri, 25 Sep 2026 21:51:31 +0200 Subject: [PATCH 4/4] Update preview and next release tags in metadata.json (#28089) --- tools/metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/metadata.json b/tools/metadata.json index c24b7fa5b6a..2f7c0659c15 100644 --- a/tools/metadata.json +++ b/tools/metadata.json @@ -1,10 +1,10 @@ { "StableReleaseTag": "v7.6.6", - "PreviewReleaseTag": "v7.7.0-preview.4", + "PreviewReleaseTag": "v7.7.0-preview.5", "ServicingReleaseTag": "v7.0.13", "ReleaseTag": "v7.6.6", "LTSReleaseTag": ["v7.4.20", "v7.6.6"], - "NextReleaseTag": "v7.7.0-preview.5", + "NextReleaseTag": "v7.7.0-preview.6", "LTSRelease": { "PublishToChannels": false, "Package": false }, "StableRelease": { "PublishToChannels": false, "Package": false } }