-
Notifications
You must be signed in to change notification settings - Fork 1.7k
(AB-506302) Fix overlocalization in New-Item
#12709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| --- | ||
| external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml | ||
| Locale: en-US | ||
| no-loc: | ||
| - Target | ||
| Module Name: Microsoft.PowerShell.Management | ||
| ms.date: 02/23/2024 | ||
| ms.date: 01/28/2026 | ||
|
Comment on lines
+4
to
+7
|
||
| online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/new-item?view=powershell-7.4&WT.mc_id=ps-gethelp | ||
| schema: 2.0.0 | ||
| aliases: | ||
|
|
@@ -176,7 +178,7 @@ to verify the paths of the newly created files. | |
|
|
||
| ### Example 7: Create a symbolic link to a file or folder | ||
|
|
||
| This example creates a symbolic link to the Notice.txt file in the current folder. | ||
| This example creates a symbolic link to the `Notice.txt` file in the current folder. | ||
|
|
||
| ```powershell | ||
| $link = New-Item -ItemType SymbolicLink -Path .\link -Target .\Notice.txt | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| --- | ||
| external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml | ||
| Locale: en-US | ||
| no-loc: | ||
| - Target | ||
| Module Name: Microsoft.PowerShell.Management | ||
| ms.date: 02/23/2024 | ||
| ms.date: 01/28/2026 | ||
|
Comment on lines
+4
to
+7
|
||
| online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/new-item?view=powershell-7.5&WT.mc_id=ps-gethelp | ||
| schema: 2.0.0 | ||
| aliases: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| --- | ||
| external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml | ||
| Locale: en-US | ||
| no-loc: | ||
| - Target | ||
| Module Name: Microsoft.PowerShell.Management | ||
| ms.date: 02/23/2024 | ||
| ms.date: 01/28/2026 | ||
|
Comment on lines
+4
to
+7
|
||
| online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/new-item?view=powershell-7.6&WT.mc_id=ps-gethelp | ||
| schema: 2.0.0 | ||
| aliases: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no-locfront-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]inreference/7.6/Microsoft.PowerShell.Core/Import-Module.md:6) and typically placeno-locafterms.date. Consider switching tono-loc: [Target]and positioning it afterms.datefor consistency and tooling predictability.