Skip to content

Commit 8000a19

Browse files
ArieHeinsdwheeler
andauthored
Fix Spelling and Add words to dictionary (#11514)
* Fix CSpell findings and add words to dictionary * Apply suggestions from code review --------- Co-authored-by: Sean Wheeler <[email protected]>
1 parent f89fd0a commit 8000a19

39 files changed

+86
-71
lines changed

.vscode/cspell/psdocs/dictionaries/psdocs.txt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ autogenerated
1212
autogenerates
1313
autoload
1414
autoloaded
15+
autoloading
1516
autoloads
1617
autosave
1718
autosaved
@@ -36,13 +37,15 @@ callstack
3637
carmonm
3738
ccontains
3839
CentOS
40+
Certmgr
3941
cheatsheet
4042
cheatsheets
4143
checkboxes
4244
cimv2
4345
clike
4446
cmatch
4547
cmdlet
48+
cmdletbinding
4649
cmdlets
4750
cnotcontains
4851
cnotlike
@@ -57,10 +60,12 @@ coreclr
5760
CoreOS
5861
CredSSP
5962
creplace
63+
cscript
6064
customizations
6165
DACL
6266
datacenter
6367
datacenters
68+
DCOM
6469
Debian
6570
deserialization
6671
deserialize
@@ -94,6 +99,7 @@ frontmatter
9499
glob
95100
globbing
96101
globs
102+
gpedit
97103
GUID
98104
hardlink
99105
hashtable
@@ -147,14 +153,17 @@ notmatch
147153
nslookup
148154
NTFS
149155
NTLM
156+
ntoskrnl
150157
nuget
151158
nupkg
152159
onboarding
153160
openpublishing
154161
openSUSE
155162
pageable
156163
parameterless
164+
PassThru
157165
PATHEXT
166+
pbpaste
158167
pltfrm
159168
POSIX
160169
PowerShell
@@ -168,6 +177,7 @@ prerelease
168177
prereleases
169178
psadapted
170179
psbase
180+
pscredential
171181
pscustomobject
172182
PSES
173183
psextended
@@ -196,6 +206,7 @@ remoting
196206
reparse
197207
RHEL
198208
RIPEMD160
209+
robocopy
199210
runbook
200211
runbooks
201212
runspace
@@ -226,14 +237,14 @@ Snover
226237
SPACEBAR
227238
Sqlcmd
228239
SQLPS
240+
SQLSERVER
229241
stepover
230242
struct
231243
subcontainer
232244
subcontainers
233245
subexpression
234246
subexpressions
235247
subfolder
236-
subfolder
237248
subfolders
238249
subkey
239250
subkeys
@@ -250,6 +261,7 @@ taskbar
250261
timespan
251262
Titlecase
252263
TMPDIR
264+
Traceroute
253265
triaged
254266
Ubuntu
255267
UMCI
@@ -272,6 +284,7 @@ unregistering
272284
unregisters
273285
untrusted
274286
updateable
287+
UPDATECHECK
275288
USERMODE
276289
USERROLE
277290
userspace
@@ -285,4 +298,6 @@ WinCompat
285298
wmicimv2
286299
workgroup
287300
workgroups
301+
wscript
288302
wwwroot
303+
xclip

reference/7.5/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ in the `bash` process, outside of the PowerShell host, the output isn't
230230
affected by **OutputRendering**.
231231

232232
```bash
233-
pwsh -noprofile -command 'Get-Childitem' > out.txt
233+
pwsh -noprofile -command 'Get-ChildItem' > out.txt
234234
```
235235

236236
When you inspect the contents of `out.txt` you see the ANSI escape sequences.
@@ -239,7 +239,7 @@ By contrast, when redirection occurs within the PowerShell session,
239239
**OutputRendering** affects the redirected output.
240240

241241
```bash
242-
pwsh -noprofile -command 'Get-Childitem > out.txt'
242+
pwsh -noprofile -command 'Get-ChildItem > out.txt'
243243
```
244244

245245
When you inspect the contents of `out.txt` there are no ANSI escape sequences.

reference/7.5/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ following example, the negative value can't be cast to an unsigned integer, and
227227
the unsigned integer is too large to be cast to `Int32`:
228228

229229
```powershell
230-
([int32]::minvalue + [uint32]::maxvalue).gettype().fullname
230+
([int32]::minvalue + [uint32]::maxvalue).GetType().FullName
231231
```
232232

233233
```output

reference/7.5/Microsoft.PowerShell.Core/About/about_Comment_Based_Help.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,11 +675,11 @@ PS> .\Update-Month.ps1
675675
676676
.EXAMPLE
677677
678-
PS> .\Update-Month.ps1 -inputpath C:\Data\January.csv
678+
PS> .\Update-Month.ps1 -InputPath C:\Data\January.csv
679679
680680
.EXAMPLE
681681
682-
PS> .\Update-Month.ps1 -inputpath C:\Data\January.csv -outputPath `
682+
PS> .\Update-Month.ps1 -InputPath C:\Data\January.csv -outputPath `
683683
C:\Reports\2009\January.csv
684684
#>
685685

reference/7.5/Microsoft.PowerShell.Core/About/about_Data_Sections.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ A single-quoted here-string that uses the `ConvertFrom-StringData` cmdlet:
173173

174174
```powershell
175175
DATA {
176-
ConvertFrom-StringData -stringdata @'
176+
ConvertFrom-StringData -StringData @'
177177
Text001 = Windows 7
178178
Text002 = Windows Server 2008 R2
179179
'@
@@ -184,7 +184,7 @@ A double-quoted here-string that uses the `ConvertFrom-StringData` cmdlet:
184184

185185
```powershell
186186
DATA {
187-
ConvertFrom-StringData -stringdata @"
187+
ConvertFrom-StringData -StringData @"
188188
Msg1 = To start, press any key.
189189
Msg2 = To exit, type "quit".
190190
"@

reference/7.5/Microsoft.PowerShell.Core/About/about_Function_Provider.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ ${function:Clear-Host}
126126
This command gets the `man` function from the `Function:` drive. It uses the
127127
`Get-Item` cmdlet to get the function. The pipeline operator (`|`) sends the
128128
result to `Format-Table`. The `-Wrap` parameter directs text that does not fit
129-
on the line onto the next line. The `-Autosize` parameter resizes the table
129+
on the line onto the next line. The `-AutoSize` parameter resizes the table
130130
columns to accommodate the text.
131131

132132
```powershell
133-
Get-Item -Path man | Format-Table -Wrap -Autosize
133+
Get-Item -Path man | Format-Table -Wrap -AutoSize
134134
```
135135

136136
### Working with Function provider paths

reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ key. To scroll through a list of values, press the <kbd>Tab</kbd> key again.
7878

7979
- [about_Command_Syntax](about_Command_Syntax.md)
8080
- [about_Path_Syntax](about_Path_Syntax.md)
81-
- [about_PSReadline](../../PSReadline/About/about_PSReadline.md)
81+
- [about_PSReadLine](../../PSReadline/About/about_PSReadline.md)

reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Non-Windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ PowerShell supports configuring two categories of logging:
4646
```powershell
4747
$psrl = Get-Module PSReadLine
4848
$psrl.LogPipelineExecutionDetails = $true
49-
Get-Module PSReadline | Select-Object Name, LogPipelineExecutionDetails
49+
Get-Module PSReadLine | Select-Object Name, LogPipelineExecutionDetails
5050
```
5151

5252
```Output

reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PowerShell supports configuring two categories of logging:
3838
```powershell
3939
$psrl = Get-Module PSReadLine
4040
$psrl.LogPipelineExecutionDetails = $true
41-
Get-Module PSReadline | Select-Object Name, LogPipelineExecutionDetails
41+
Get-Module PSReadLine | Select-Object Name, LogPipelineExecutionDetails
4242
```
4343

4444
```Output

reference/7.5/Microsoft.PowerShell.Core/About/about_Operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ This example stores a command in a string and executes it using the call
252252
operator.
253253

254254
```
255-
PS> $c = "get-executionpolicy"
255+
PS> $c = "Get-ExecutionPolicy"
256256
PS> $c
257-
get-executionpolicy
257+
Get-ExecutionPolicy
258258
PS> & $c
259259
AllSigned
260260
```

0 commit comments

Comments
 (0)