Skip to content

Commit b72863a

Browse files
authored
Merge pull request #11771 from MicrosoftDocs/main
02/04/2025 PM Publishing
2 parents d8b6403 + d264f54 commit b72863a

File tree

10 files changed

+23
-21
lines changed

10 files changed

+23
-21
lines changed

reference/7.4/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ This cmdlet returns no output.
375375
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
376376
class. This method requires the **SeShutdownPrivilege** privilege be enabled for the user account
377377
used to restart the machine.
378-
- On Linux and Mac OS, `Restart-Computer` uses the `/sbin/shutdown` bash tool.
378+
- On Linux and macOS, `Restart-Computer` uses the `/sbin/shutdown` bash tool.
379379

380380
## RELATED LINKS
381381

reference/7.5/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ This cmdlet returns no output.
378378
[Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem) class. This method
379379
requires the **SeShutdownPrivilege** privilege be enabled for the user account used to restart
380380
the machine.
381-
- On Linux and Mac OS, `Restart-Computer` uses the `/sbin/shutdown` bash tool.
381+
- On Linux and macOS, `Restart-Computer` uses the `/sbin/shutdown` bash tool.
382382

383383
## RELATED LINKS
384384

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.Management/Restart-Computer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ This cmdlet returns no output.
375375
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
376376
class. This method requires the **SeShutdownPrivilege** privilege be enabled for the user account
377377
used to restart the machine.
378-
- On Linux and Mac OS, `Restart-Computer` uses the `/sbin/shutdown` bash tool.
378+
- On Linux and macOS, `Restart-Computer` uses the `/sbin/shutdown` bash tool.
379379

380380
## RELATED LINKS
381381

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
```

reference/docfx.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,21 @@
4141
"docs-conceptual/**/*.md": "conceptual"
4242
},
4343
"ms.topic": {
44-
"5.1/**/*": "managed-reference",
45-
"7*/**/*": "managed-reference",
44+
"5.1/**/*": "reference",
45+
"7*/**/*": "reference",
4646
"docs-conceptual/community/contributing/**/*.md": "contributor-guide",
4747
"docs-conceptual/**/*.md": "conceptual",
48-
"docs-conceptual/dev-cross-plat/**/*.md": "reference",
49-
"docs-conceptual/developer/**/*.md": "reference",
48+
"docs-conceptual/dev-cross-plat/**/*.md": "conceptual",
49+
"docs-conceptual/developer/**/*.md": "conceptual",
5050
"docs-conceptual/lang-spec/**/*.md": "language-reference",
5151
"docs-conceptual/learn/*.md": "tutorial",
5252
"docs-conceptual/learn/deep-dives/*.md": "tutorial",
5353
"docs-conceptual/learn/ps101/*.md": "conceptual",
5454
"docs-conceptual/learn/remoting/*.md": "tutorial",
5555
"docs-conceptual/samples/**/*.md": "sample",
56-
"docs-conceptual/whats-new/**/*.md": "whats-new"
56+
"docs-conceptual/whats-new/**/*.md": "whats-new",
57+
"docs-conceptual/windows-powershell/ise/*.md": "ui-reference",
58+
"docs-conceptual/windows-powershell/ise/object-model/*.md": "reference"
5759
},
5860
"products": {
5961
"5.1/**/*": [

reference/docs-conceptual/community/2025-updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ community.
1111
Help us make the documentation better for you. Read the [Contributor's Guide][01] to learn how to
1212
get started.
1313

14-
## 2024-January
14+
## 2025-January
1515

1616
New content
1717

0 commit comments

Comments
 (0)