Skip to content

Fix severities#448

Merged
sdwheeler merged 1 commit into
MicrosoftDocs:mainfrom
sdwheeler:sdw-w591525-sync-pssa-docs
Jul 23, 2026
Merged

Fix severities#448
sdwheeler merged 1 commit into
MicrosoftDocs:mainfrom
sdwheeler:sdw-w591525-sync-pssa-docs

Conversation

@sdwheeler

@sdwheeler sdwheeler commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

PR Summary

Fix severities

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 contributors guide.
  • Style: This PR adheres to the style guide.

Copilot AI review requested due to automatic review settings July 23, 2026 23:09
@learn-build-service-prod

Copy link
Copy Markdown

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.

@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit e38c89e:

✅ Validation status: passed

File Status Preview URL Details
reference/docs-conceptual/PSScriptAnalyzer/Rules/PossibleIncorrectUsageOfRedirectionOperator.md ✅Succeeded View (ps-modules)
reference/docs-conceptual/PSScriptAnalyzer/Rules/README.md ✅Succeeded View (ps-modules)
reference/docs-conceptual/PSScriptAnalyzer/Rules/ReservedCmdletChar.md ✅Succeeded View (ps-modules)
reference/docs-conceptual/PSScriptAnalyzer/Rules/UseCompatibleSyntax.md ✅Succeeded View (ps-modules)

For more details, please refer to the build report.

@sdwheeler
sdwheeler merged commit 11f6f77 into MicrosoftDocs:main Jul 23, 2026
5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates PSScriptAnalyzer rule documentation to correct reported severity levels so the rule pages and the consolidated rules list reflect the intended severities.

Changes:

  • Adjusts the documented severity for UseCompatibleSyntax (Warning → Error).
  • Adjusts the documented severity for ReservedCmdletChar (Error → Warning).
  • Adjusts the documented severity for PossibleIncorrectUsageOfRedirectionOperator (Information → Warning) and updates its ms.date.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
reference/docs-conceptual/PSScriptAnalyzer/Rules/UseCompatibleSyntax.md Updates the rule page severity to Error.
reference/docs-conceptual/PSScriptAnalyzer/Rules/ReservedCmdletChar.md Updates the rule page severity to Warning.
reference/docs-conceptual/PSScriptAnalyzer/Rules/README.md Updates the consolidated rules table severities to match rule pages.
reference/docs-conceptual/PSScriptAnalyzer/Rules/PossibleIncorrectUsageOfRedirectionOperator.md Updates the rule page severity to Warning and refreshes ms.date.

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

# UseCompatibleSyntax

**Severity Level: Warning**
**Severity Level: Error**
# ReservedCmdletChar

**Severity Level: Error**
**Severity Level: Warning**
| [PossibleIncorrectComparisonWithNull][44] | Warning | Always enabled | |
| [PossibleIncorrectUsageOfAssignmentOperator][45] | Information | Always enabled | |
| [PossibleIncorrectUsageOfRedirectionOperator][46] | Information | Always enabled | |
| [PossibleIncorrectUsageOfRedirectionOperator][46] | Warning | Always enabled | |
@sdwheeler
sdwheeler deleted the sdw-w591525-sync-pssa-docs branch July 23, 2026 23:13
sdwheeler added a commit that referenced this pull request Jul 23, 2026
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.

2 participants