[PR #2403] Add Powershell command to get OS version #24917

Open
opened 2026-01-31 09:06:05 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/2403

State: closed
Merged: Yes


As ver doesn't work in default shell.

Summary of the Pull Request

GitHub issues currently have instructions to run ver which doesn't work in Windows default shell. This PR adds Powershell instructions and keeps the cmd instructions too.

References

No issues. Could create one if you want.

PR Checklist

  • CLA signed.
  • Tests added/passed
  • Requires documentation to be updated (N/A, as this is documentation)
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan.

Validation Steps Performed

Follow instructions. Note they work now in the default shell now rather than producing an error.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/2403 **State:** closed **Merged:** Yes --- As `ver` doesn't work in default shell. ## Summary of the Pull Request GitHub issues currently have instructions to run `ver` which doesn't work in Windows default shell. This PR adds Powershell instructions and keeps the cmd instructions too. ## References No issues. Could create one if you want. ## PR Checklist * [x] CLA signed. * [x] Tests added/passed * [ ] Requires documentation to be updated (N/A, as this is documentation) * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. ## Validation Steps Performed Follow instructions. Note they work now in the default shell now rather than producing an error.
claunia added the pull-request label 2026-01-31 09:06:05 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24917