Skip to content

feat(windows): migrate PowerShell to SSH-friendly MSI - #6

Merged
alsd4git merged 4 commits into
mainfrom
feat/windows-powershell-msi
Nov 8, 2026
Merged

alsd4git merged 4 commits into
mainfrom
feat/windows-powershell-msi

Conversation

@alsd4git

@alsd4git alsd4git commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Why

  • Provide a stable PowerShell 7 executable path for Windows SSH and service contexts where the MSIX execution alias can fail.

How

  • Install the PowerShell 7.6.9 MSI via WinGet and require separate consent before removing current-user MSIX.
  • Verify the fixed-path executable first and prevent removal while packaged PowerShell processes are running.
  • Document migration, recovery, and the upstream MSI lifecycle limitation.

Tests

  • powershell.exe -NoProfile -File tests/windows-powershell-msi-tests.ps1: passed.
  • On the host, installed MSI 7.6.9, removed current-user MSIX, and verified the fixed executable.
  • Authenticated SSH to localhost and launched C:\Program Files\PowerShell\7\pwsh.exe; it reported version 7.6.9 and the expected PSHOME. SSH default shell configuration was not changed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T21:20:29.951360Z bc6d0c1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@alsd4git
alsd4git merged commit 681d082 into main Nov 8, 2026
13 checks passed
@alsd4git
alsd4git deleted the feat/windows-powershell-msi branch November 8, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant