Skip to content

Fixes #12899 - Move uninstall steps to top for brew#12900

Merged
sdwheeler merged 1 commit intoMicrosoftDocs:mainfrom
sdwheeler:sdw-w565855-i12899-brew
Mar 30, 2026
Merged

Fixes #12899 - Move uninstall steps to top for brew#12900
sdwheeler merged 1 commit intoMicrosoftDocs:mainfrom
sdwheeler:sdw-w565855-i12899-brew

Conversation

@sdwheeler
Copy link
Copy Markdown
Collaborator

@sdwheeler sdwheeler commented Mar 30, 2026

PR Summary

Move uninstall steps to top for brew

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributor's guide.
  • Style: This PR adheres to the style guide.

Copilot AI review requested due to automatic review settings March 30, 2026 12:42
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the macOS Homebrew installation guidance to better support users migrating from Homebrew cask-based installs to the current formula-based install flow.

Changes:

  • Updates ms.date.
  • Rewords the Homebrew intro text and link to Homebrew install instructions.
  • Moves cask-uninstall steps ahead of the formula install command (within the IMPORTANT block).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +22 to +26
>
> If you previously installed PowerShell using the Homebrew cask, you must first uninstall the cask
> before you can successfully install using the Homebrew formula. Use the following commands to
> uninstall the cask:
>
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

The [!IMPORTANT] block contains blank blockquote lines (standalone >), which violates markdownlint MD028 (no-blanks-blockquote) and can cause inconsistent rendering. Remove the empty > lines and keep the content contiguous within the blockquote.

Suggested change
>
> If you previously installed PowerShell using the Homebrew cask, you must first uninstall the cask
> before you can successfully install using the Homebrew formula. Use the following commands to
> uninstall the cask:
>
> If you previously installed PowerShell using the Homebrew cask, you must first uninstall the cask
> before you can successfully install using the Homebrew formula. Use the following commands to
> uninstall the cask:

Copilot uses AI. Check for mistakes.
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 5ee32f7:

✅ Validation status: passed

File Status Preview URL Details
reference/docs-conceptual/install/alternate-install-methods.md ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

@sdwheeler sdwheeler merged commit 27c9333 into MicrosoftDocs:main Mar 30, 2026
9 checks passed
@sdwheeler sdwheeler deleted the sdw-w565855-i12899-brew branch April 1, 2026 19:26
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.

powershell on macos using homebrew upgrade to 7.6

2 participants