[Freshness] PSScriptAnalyzer Article Updates - Batch 4#405
Conversation
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 5fef2ee: 💡 Validation status: suggestions
reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidUsingConvertToSecureStringWithPlainText.md
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. |
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 484e2b3: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates several PSScriptAnalyzer rule reference docs to refresh wording, replace "Wrong"/"Correct" headings with "Noncompliant"/"Compliant", and bump ms.date values.
Changes:
- Reworded descriptions for clarity across multiple rule docs.
- Renamed example section headings from Wrong/Correct to Noncompliant/Compliant.
- Updated
ms.dateto 06/01/2026 and added a link reference for SecureString.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidUsingDoubleQuotesForConstantString.md | Clarified description and renamed example headings. |
| reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidUsingDeprecatedManifestFields.md | Rewrote description, removed "How" section, renamed headings. |
| reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidUsingConvertToSecureStringWithPlainText.md | Expanded description, added SecureString link reference. |
| reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidUsingComputerNameHardcoded.md | Reworded description, updated example casing, renamed headings. |
| reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidUsingCmdletAliases.md | Reworded description, restructured Configure rule section. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Summary
These updates target the following PSScriptAnalyzer articles:
AvoidUsingCmdletAliasesAvoidUsingComputerNameHardcodedAvoidUsingConvertToSecureStringWithPlainTextAvoidUsingDeprecatedManifestFieldsAvoidUsingDoubleQuotesForConstantStringFixes: AB#581964
Fixes: AB#581965
Fixes: AB#581967
Fixes: AB#581968
Fixes: AB#583951
PR Checklist