GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [release/v7.4.21] Change Windows CI to stop using PowerShell 5.1 by adityapatwardhan · Pull Request #28049 · PowerShell/PowerShell

Conversation

@adityapatwardhan

@adityapatwardhan Aditya Patwardhan (adityapatwardhan) commented Sep 21, 2026

Copy link
Copy Markdown
Member

Backport of #27940 to release/v7.4.21

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 tooling change
  • Optional tooling change (include reasoning)

Stops Windows CI from depending on Windows PowerShell 5.1 and uses the supported PowerShell Core execution path for release-branch validation.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Cherry-pick completed cleanly, git diff --check passed, and tools/WindowsCI.psm1 parses successfully with no conflict markers. Windows workflow execution will be validated by backport CI.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

High risk because this changes the PowerShell host used by Windows CI. The implementation is narrowly scoped to the workflow action and WindowsCI module adjustment already validated on master.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@daxian-dbw @adityapatwardhan
Change Windows test CI to stop using PowerShell 5.1 (PowerShell#27940)
97b7a08
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) requested a review from a team as a code owner September 21, 2026 21:22
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Sep 21, 2026
Copilot AI lite review requested due to automatic review settings September 21, 2026 21:22
@azure-pipelines

azure-pipelines Bot commented Sep 21, 2026

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot started reviewing on behalf of Aditya Patwardhan (adityapatwardhan) September 21, 2026 21:22
View session
Copilot AI reviewed Sep 21, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The change alters the PowerShell host used by Windows CI and requires final human validation.

Review effort: Lite
Findings: None

What changed in this PR

Updates Windows CI to use PowerShell Core instead of Windows PowerShell 5.1.

Changes:

  • Changes the Windows bootstrap shell to pwsh.
  • Removes obsolete PowerShell 5.1 documentation.
File Description
tools/​WindowsCI.psm1 Removes obsolete host requirement documentation.
.github/​actions/​test/​windows/​action.yml Runs Windows bootstrap using PowerShell Core.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) enabled auto-merge (squash) September 22, 2026 19:19
SeeminglyScience
Patrick Meinecke (SeeminglyScience) approved these changes Sep 22, 2026
View reviewed changes
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) changed the title [release/v7.4.21] Change Windows CI to stop using PowerShell 5.1 WIP: [release/v7.4.21] Change Windows CI to stop using PowerShell 5.1 Sep 22, 2026
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) changed the title WIP: [release/v7.4.21] Change Windows CI to stop using PowerShell 5.1 [release/v7.4.21] Change Windows CI to stop using PowerShell 5.1 Sep 22, 2026
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit b6fd898 into PowerShell:release/v7.4.21 Sep 22, 2026
39 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) deleted the backport/release/v7.4.21/27940-13b2fd125 branch September 22, 2026 20:20
jshigetomi
Justin Chung (jshigetomi) approved these changes Sep 23, 2026
View reviewed changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@SeeminglyScience Patrick Meinecke (SeeminglyScience) SeeminglyScience approved these changes
@jshigetomi Justin Chung (jshigetomi) jshigetomi approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@adityapatwardhan @SeeminglyScience @jshigetomi @daxian-dbw
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.