From 6e29edead5158bd3589ae201bb9d3e3f2f741ce9 Mon Sep 17 00:00:00 2001 From: surfingoldelephant <151538956+surfingoldelephant@users.noreply.github.com> Date: Sun, 23 Mar 2025 14:45:31 +0000 Subject: [PATCH] Fix incorrect case/capitalization in ref docs This ensures the following components have the correct/consistent case throughout the reference documentation: Preference variable, PS environment variable, PS drive, PS provider, PS command name, PS command argument, PS module, PS file extension, PS host name/application, #Requires statement, parameter name, about_* topic, member name, scope modifier, keyword, operator, calculated property key/value, attribute, type accelerator, type literal/name, WMI namespace/class, variable name, special character, comment-based help keyword, product/company name, Windows drive letter/directory, Windows/Unix environment variable In addition, changes include fixes to incorrect terminology (e.g., referring to a keyword as a command) and formatting of PS syntax elements (non-exhaustive). --- .../Sort-Object.md | 8 ++-- .../Tee-Object.md | 6 +-- .../Trace-Command.md | 2 +- .../Unblock-File.md | 6 +-- .../Update-FormatData.md | 14 +++--- .../Update-List.md | 44 +++++++++---------- .../Update-TypeData.md | 2 +- .../Wait-Debugger.md | 8 ++-- .../Write-Error.md | 2 +- .../Write-Progress.md | 14 +++--- .../Sort-Object.md | 8 ++-- .../Tee-Object.md | 6 +-- .../Trace-Command.md | 2 +- .../Unblock-File.md | 6 +-- .../Update-FormatData.md | 14 +++--- .../Update-List.md | 44 +++++++++---------- .../Update-TypeData.md | 2 +- .../Wait-Debugger.md | 8 ++-- .../Write-Error.md | 2 +- .../Write-Progress.md | 12 ++--- .../Sort-Object.md | 8 ++-- .../Tee-Object.md | 4 +- .../Trace-Command.md | 2 +- .../Unblock-File.md | 6 +-- .../Update-FormatData.md | 14 +++--- .../Update-List.md | 44 +++++++++---------- .../Update-TypeData.md | 2 +- .../Wait-Debugger.md | 8 ++-- .../Write-Error.md | 2 +- .../Write-Progress.md | 12 ++--- .../Sort-Object.md | 8 ++-- .../Tee-Object.md | 4 +- .../Trace-Command.md | 2 +- .../Unblock-File.md | 6 +-- .../Update-FormatData.md | 14 +++--- .../Update-List.md | 44 +++++++++---------- .../Update-TypeData.md | 2 +- .../Wait-Debugger.md | 8 ++-- .../Write-Error.md | 2 +- .../Write-Progress.md | 12 ++--- 40 files changed, 207 insertions(+), 207 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Utility/Sort-Object.md b/reference/5.1/Microsoft.PowerShell.Utility/Sort-Object.md index 98bb1459663f..c0419222336b 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Sort-Object.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Sort-Object.md @@ -131,8 +131,8 @@ Get-History | Sort-Object -Property Id -Descending 8 Get-Command Sort-Object -Syntax 7 Get-Command Sort-Object -ShowCommandInfo 6 Get-ChildItem -Path C:\Test | Sort-Object -Property Length - 5 Get-Help Clear-History -online - 4 Get-Help Clear-History -full + 5 Get-Help Clear-History -Online + 4 Get-Help Clear-History -Full 3 Get-ChildItem | Get-Member 2 Get-Command Sort-Object -Syntax 1 Set-Location C:\Test\ @@ -478,8 +478,8 @@ use a scriptblock or a hashtable. Valid keys for a hash table are as follows: -- `expression` - `` or `