[release/v7.6.7] Change Windows CI to stop using PowerShell 5.1 - #28081
Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit intoSep 24, 2026
Conversation
Aditya Patwardhan (adityapatwardhan)
requested review from
a team and
Justin Chung (jshigetomi)
as code owners
September 24, 2026 04:20
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
Aditya Patwardhan (adityapatwardhan)
September 24, 2026 04:21
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
The change affects Windows CI infrastructure and warrants human validation.
Review effort: Lite
Findings: None
What changed in this PR
Updates Windows CI bootstrap execution from Windows PowerShell 5.1 to PowerShell 7 (pwsh).
Changes:
- Switches the Windows bootstrap step to
pwsh. - Removes obsolete Windows PowerShell documentation.
| File | Summary |
|---|---|
tools/WindowsCI.psm1 |
Removes outdated shell requirement documentation. |
.github/actions/test/windows/action.yml |
Uses pwsh for bootstrap execution. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Justin Chung (jshigetomi)
approved these changes
Sep 24, 2026
Aditya Patwardhan (adityapatwardhan)
merged commit Sep 24, 2026
a79abf6
into
PowerShell:release/v7.6.7
36 checks passed
Aditya Patwardhan (adityapatwardhan)
deleted the
backport/release/v7.6.7/27940-13b2fd125
branch
September 24, 2026 17:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #27940 to release/v7.6.7
Triggered by Aditya Patwardhan (@adityapatwardhan) on behalf of Dongbo Wang (@daxian-dbw)
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Required CI tooling change so Windows test bootstrap runs with
pwshrather than Windows PowerShell 5.1.Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
The cherry-picked diff was verified to exactly match the original two-file change.
git diff --check upstream/release/v7.6.7..HEADpassed, andtools/WindowsCI.psm1passed PowerShell parser validation with no conflict markers. The Windows workflow behavior will be validated by PR CI.Risk
REQUIRED: Check exactly one box.
High risk because this changes the Windows CI bootstrap shell from Windows PowerShell to PowerShell and therefore affects build/test infrastructure. The change is narrowly scoped to one shell selector plus removal of an obsolete comment, cherry-picked without conflicts, and has already been used on master and backported to the 7.4 and 7.5 release lines.