MicrosoftDocs / PowerShell-Docs

The official PowerShell documentation sources
https://learn.microsoft.com/powershell
Other
2.01k stars 1.58k forks source link

(GH-11534) Separate codeblocks for installing with WinGet by ID #11535

Closed michaeltlombardi closed 1 week ago

michaeltlombardi commented 1 week ago

PR Summary

Prior to this change, the article for installing PowerShell on Windows used a single codeblock to show readers how to install PowerShell and PowerShell preview with WinGet by ID. On the webpage, this results in a single codeblock with a copy button. If a reader uses the copy button and pastes the copied code into their terminal, both commands will run. If a user wanted to install only one edition, they need to edit the copied code to remove the line they don't want.

This change:

PR Checklist

learn-build-service-prod[bot] commented 1 week ago

Learn Build status updates of commit 9f2c9cc:

:white_check_mark: Validation status: passed

File Status Preview URL Details
reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md :white_check_mark:Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

For any questions, please: