Skip to content

Commit 4a396c3

Browse files
committed
Spelling
1 parent b9d873e commit 4a396c3

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

reference/7.6/Microsoft.PowerShell.Core/Get-Command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ This command uses the **ArgumentList** and **Syntax** parameters to get the synt
115115
the Certificate Provider adds to the session.
116116

117117
```powershell
118-
Get-Command -Name Get-Childitem -Args Cert: -Syntax
118+
Get-Command -Name Get-ChildItem -Args Cert: -Syntax
119119
```
120120

121121
When you compare the syntax displayed in the output with the syntax that's displayed when you omit

reference/7.6/Microsoft.PowerShell.Utility/Get-Error.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ In this example, `Get-Error` displays the details of the most recent error that
4747
current session.
4848

4949
```powershell
50-
Get-Childitem -path /NoRealDirectory
50+
Get-ChildItem -path /NoRealDirectory
5151
Get-Error
5252
```
5353

@@ -86,11 +86,11 @@ InvocationInfo :
8686
ScriptLineNumber : 1
8787
OffsetInLine : 1
8888
HistoryId : 57
89-
Line : Get-Childitem -path c:\NoRealDirectory
89+
Line : Get-ChildItem -path c:\NoRealDirectory
9090
PositionMessage : At line:1 char:1
91-
+ Get-Childitem -path c:\NoRealDirectory
91+
+ Get-ChildItem -path c:\NoRealDirectory
9292
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93-
InvocationName : Get-Childitem
93+
InvocationName : Get-ChildItem
9494
CommandOrigin : Internal
9595
ScriptStackTrace : at <ScriptBlock>, <No file>: line 1
9696
PipelineIterationInfo :

reference/7.6/Microsoft.PowerShell.Utility/Get-EventSubscriber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Id Name State HasMoreData Location Command
113113
```powershell
114114
$Timer.Enabled = $True
115115
$Subscriber = Get-EventSubscriber -SourceIdentifier Timer.Random
116-
($Subscriber.action).gettype().fullname
116+
($Subscriber.action).GetType().fullname
117117
```
118118

119119
```Output

reference/7.6/Microsoft.PowerShell.Utility/Get-PSCallStack.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To run a `Get-PSCallStack` command while in the debugger, type `k` or `Get-PSCal
3535
```powershell
3636
PS C:\> function my-alias {
3737
$p = $args[0]
38-
Get-Alias | where {$_.definition -like "*$p"} | format-table definition, name -auto
38+
Get-Alias | where {$_.Definition -like "*$p"} | Format-Table definition, name -auto
3939
}
4040
PS C:\ps-test> Set-PSBreakpoint -Command my-alias
4141
Command : my-alias
@@ -47,18 +47,18 @@ Script : prompt PS C:\> my-alias Get-Content
4747
4848
Entering debug mode. Use h or ? for help.
4949
Hit Command breakpoint on 'prompt:my-alias'
50-
my-alias get-content
50+
my-alias Get-Content
5151
[DBG]: PS C:\ps-test> s
5252
$p = $args[0]
5353
DEBUG: Stepped to ': $p = $args[0] '
5454
[DBG]: PS C:\ps-test> s
55-
get-alias | Where {$_.Definition -like "*$p*"} | format-table Definition,
56-
[DBG]: PS C:\ps-test>get-pscallstack
55+
Get-Alias | Where {$_.Definition -like "*$p*"} | Format-Table Definition,
56+
[DBG]: PS C:\ps-test>Get-PSCallstack
5757
5858
Name CommandLineParameters UnboundArguments Location
5959
---- --------------------- ---------------- --------
6060
prompt {} {} prompt
61-
my-alias {} {get-content} prompt
61+
my-alias {} {Get-Content} prompt
6262
prompt {} {} prompt
6363
6464
PS C:\> [DBG]: PS C:\ps-test> o

reference/7.6/Microsoft.PowerShell.Utility/Get-Unique.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ These commands find the number of unique words in a text file.
4343

4444
```powershell
4545
$A = $( foreach ($line in Get-Content C:\Test1\File1.txt) {
46-
$line.tolower().split(" ")
46+
$line.ToLower().split(" ")
4747
}) | Sort-Object | Get-Unique
4848
$A.count
4949
```

0 commit comments

Comments
 (0)