(AB-506302) Fix overlocalization in New-Item#12709
(AB-506302) Fix overlocalization in New-Item#12709sdwheeler merged 2 commits intoMicrosoftDocs:mainfrom
New-Item#12709Conversation
Prior to this change, the **Target** alias for the **Value** parameter was being overlocalized. This change: - Adds `Target` to the `no-loc` list. - Fixes AB#506302
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 |
There was a problem hiding this comment.
Pull request overview
Updates the New-Item reference documentation to prevent localization of the Target alias (AB#506302).
Changes:
- Adds
Targetto theno-locfront-matter forNew-Itemacross PowerShell 5.1, 7.4, 7.5, and 7.6. - Updates
ms.datein the affected reference pages. - Minor markdown formatting tweak in the 7.4 example text (
Notice.txtformatting).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| reference/7.6/Microsoft.PowerShell.Management/New-Item.md | Adds no-loc entry for Target and updates ms.date. |
| reference/7.5/Microsoft.PowerShell.Management/New-Item.md | Adds no-loc entry for Target and updates ms.date. |
| reference/7.4/Microsoft.PowerShell.Management/New-Item.md | Adds no-loc entry for Target, updates ms.date, and tweaks example text formatting. |
| reference/5.1/Microsoft.PowerShell.Management/New-Item.md | Adds no-loc entry for Target and updates ms.date. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| no-loc: | ||
| - Target | ||
| Module Name: Microsoft.PowerShell.Management | ||
| ms.date: 02/23/2024 | ||
| ms.date: 01/28/2026 |
There was a problem hiding this comment.
no-loc front-matter formatting is inconsistent with the established pattern in cmdlet reference docs. Other cmdlet pages use a single-line YAML array (e.g., no-loc: [Import-Module, -Scope] in reference/7.6/Microsoft.PowerShell.Core/Import-Module.md:6) and typically place no-loc after ms.date. Consider switching to no-loc: [Target] and positioning it after ms.date for consistency and tooling predictability.
| no-loc: | ||
| - Target | ||
| Module Name: Microsoft.PowerShell.Management | ||
| ms.date: 02/23/2024 | ||
| ms.date: 01/28/2026 |
There was a problem hiding this comment.
no-loc front-matter formatting is inconsistent with the established pattern in cmdlet reference docs. Other cmdlet pages use a single-line YAML array (e.g., no-loc: [Import-Module, -Scope] in reference/7.6/Microsoft.PowerShell.Core/Import-Module.md:6) and typically place no-loc after ms.date. Consider switching to no-loc: [Target] and positioning it after ms.date for consistency and tooling predictability.
| no-loc: | ||
| - Target | ||
| Module Name: Microsoft.PowerShell.Management | ||
| ms.date: 02/23/2024 | ||
| ms.date: 01/28/2026 |
There was a problem hiding this comment.
no-loc front-matter formatting is inconsistent with the established pattern in cmdlet reference docs. Other cmdlet pages use a single-line YAML array (e.g., no-loc: [Import-Module, -Scope] in reference/7.6/Microsoft.PowerShell.Core/Import-Module.md:6) and typically place no-loc after ms.date. Consider switching to no-loc: [Target] and positioning it after ms.date for consistency and tooling predictability.
| no-loc: | ||
| - Target | ||
| Module Name: Microsoft.PowerShell.Management | ||
| ms.date: 02/23/2024 | ||
| ms.date: 01/28/2026 |
There was a problem hiding this comment.
no-loc front-matter formatting is inconsistent with the established pattern in cmdlet reference docs. Other cmdlet pages use a single-line YAML array (e.g., no-loc: [Import-Module, -Scope] in reference/7.6/Microsoft.PowerShell.Core/Import-Module.md:6) and typically place no-loc after ms.date. Consider switching to no-loc: [Target] and positioning it after ms.date for consistency and tooling predictability.
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 737916f: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Learn Build status updates of commit e3fac3f: ✅ Validation status: passed
For more details, please refer to the build report. |
PR Summary
Prior to this change, the Target alias for the Value parameter was being overlocalized.
This change:
Targetto theno-loclist.PR Checklist