Skip to content

Commit de78784

Browse files
Merge pull request #12843 from MicrosoftDocs/main
Auto Publish – main to live - 2026-03-11 22:00 UTC
2 parents 36127e5 + 92131d9 commit de78784

11 files changed

Lines changed: 191 additions & 201 deletions

File tree

redir/.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"redirect_document_id": false,
5+
"redirect_url": "/powershell/scripting/install/alternate-install-methods",
6+
"source_path": "../reference/docs-conceptual/install/install-other-linux.md"
7+
},
38
{
49
"redirect_document_id": false,
510
"redirect_url": "/powershell/scripting/security/app-control/how-to-use-app-control",

reference/5.1/Microsoft.PowerShell.Management/Get-Content.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 01/18/2026
5+
ms.date: 03/11/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-content?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -58,8 +58,8 @@ Get-Content -Path .\LineNumbers.txt
5858
```
5959

6060
```Output
61-
This is Line 1
62-
This is Line 2
61+
This is line 1.
62+
This is line 2.
6363
...
6464
This is line 99.
6565
This is line 100.
@@ -81,11 +81,11 @@ Get-Content -Path .\LineNumbers.txt -TotalCount 5
8181
```
8282

8383
```Output
84-
This is Line 1
85-
This is Line 2
86-
This is Line 3
87-
This is Line 4
88-
This is Line 5
84+
This is line 1.
85+
This is line 2.
86+
This is line 3.
87+
This is line 4.
88+
This is line 5.
8989
```
9090

9191
### Example 3: Get a specific line of content from a text file
@@ -99,7 +99,7 @@ that content. The **TotalCount** parameter gets the first 25 lines of content. T
9999
```
100100

101101
```Output
102-
This is Line 25
102+
This is line 25.
103103
```
104104

105105
The `Get-Content` command is wrapped in parentheses so that the command completes before going to
@@ -117,7 +117,7 @@ Get-Item -Path .\LineNumbers.txt | Get-Content -Tail 1
117117
```
118118

119119
```Output
120-
This is Line 100
120+
This is line 100.
121121
```
122122

123123
This example uses the `Get-Item` cmdlet to demonstrate that you can pipe files to `Get-Content`. The
@@ -132,7 +132,8 @@ to create sample content in a file named `Stream.txt`.
132132

133133
```powershell
134134
Set-Content -Path .\Stream.txt -Value 'This is the content of the Stream.txt file'
135-
# Specify a wildcard to the Stream parameter to display all streams of the recently created file.
135+
# Specify a wildcard to the Stream parameter to display all streams of the recently
136+
# created file.
136137
Get-Item -Path .\Stream.txt -Stream *
137138
```
138139

@@ -171,7 +172,8 @@ This is the content of the Stream.txt file
171172
```
172173

173174
```powershell
174-
# Use the Stream parameter of Add-Content to create a new Stream containing sample content.
175+
# Use the Stream parameter of Add-Content to create a new Stream containing sample
176+
# content.
175177
$addContentSplat = @{
176178
Path = '.\Stream.txt'
177179
Stream = 'NewStream'
@@ -215,7 +217,7 @@ Added a stream named NewStream to Stream.txt
215217
```
216218

217219
The **Stream** parameter is a dynamic parameter of the
218-
[FileSystem provider](../microsoft.powershell.core/about/about_filesystem_provider.md#stream-string).
220+
[FileSystem provider](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md#stream-string).
219221
By default `Get-Content` only retrieves data from the default, or `:$DATA` stream. **Streams** can
220222
be used to store hidden data such as attributes, security settings, or other data. They can also be
221223
stored on directories without being child items.
@@ -457,7 +459,7 @@ it in single quotation marks. Single quotation marks tell PowerShell not to inte
457459
as escape sequences.
458460

459461
For more information, see
460-
[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
462+
[about_Quoting_Rules](../Microsoft.PowerShell.Core/About/about_Quoting_Rules.md).
461463

462464
```yaml
463465
Type: System.String[]

reference/7.4/Microsoft.PowerShell.Management/Get-Content.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 01/18/2026
5+
ms.date: 03/11/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-content?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -60,8 +60,8 @@ Get-Content -Path .\LineNumbers.txt
6060
```
6161

6262
```Output
63-
This is Line 1
64-
This is Line 2
63+
This is line 1.
64+
This is line 2.
6565
...
6666
This is line 99.
6767
This is line 100.
@@ -83,11 +83,11 @@ Get-Content -Path .\LineNumbers.txt -TotalCount 5
8383
```
8484

8585
```Output
86-
This is Line 1
87-
This is Line 2
88-
This is Line 3
89-
This is Line 4
90-
This is Line 5
86+
This is line 1.
87+
This is line 2.
88+
This is line 3.
89+
This is line 4.
90+
This is line 5.
9191
```
9292

9393
### Example 3: Get a specific line of content from a text file
@@ -101,7 +101,7 @@ that content. The **TotalCount** parameter gets the first 25 lines of content. T
101101
```
102102

103103
```Output
104-
This is Line 25
104+
This is line 25.
105105
```
106106

107107
The `Get-Content` command is wrapped in parentheses so that the command completes before going to
@@ -119,7 +119,7 @@ Get-Item -Path .\LineNumbers.txt | Get-Content -Tail 1
119119
```
120120

121121
```Output
122-
This is Line 100
122+
This is line 100.
123123
```
124124

125125
This example uses the `Get-Item` cmdlet to demonstrate that you can pipe files to `Get-Content`. The

reference/7.5/Microsoft.PowerShell.Management/Get-Content.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 01/18/2026
5+
ms.date: 03/11/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-content?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -60,8 +60,8 @@ Get-Content -Path .\LineNumbers.txt
6060
```
6161

6262
```Output
63-
This is Line 1
64-
This is Line 2
63+
This is line 1.
64+
This is line 2.
6565
...
6666
This is line 99.
6767
This is line 100.
@@ -83,11 +83,11 @@ Get-Content -Path .\LineNumbers.txt -TotalCount 5
8383
```
8484

8585
```Output
86-
This is Line 1
87-
This is Line 2
88-
This is Line 3
89-
This is Line 4
90-
This is Line 5
86+
This is line 1.
87+
This is line 2.
88+
This is line 3.
89+
This is line 4.
90+
This is line 5.
9191
```
9292

9393
### Example 3: Get a specific line of content from a text file
@@ -101,7 +101,7 @@ that content. The **TotalCount** parameter gets the first 25 lines of content. T
101101
```
102102

103103
```Output
104-
This is Line 25
104+
This is line 25.
105105
```
106106

107107
The `Get-Content` command is wrapped in parentheses so that the command completes before going to
@@ -119,7 +119,7 @@ Get-Item -Path .\LineNumbers.txt | Get-Content -Tail 1
119119
```
120120

121121
```Output
122-
This is Line 100
122+
This is line 100.
123123
```
124124

125125
This example uses the `Get-Item` cmdlet to demonstrate that you can pipe files to `Get-Content`. The

reference/7.6/Microsoft.PowerShell.Management/Get-Content.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 01/18/2026
5+
ms.date: 03/11/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-content?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -60,8 +60,8 @@ Get-Content -Path .\LineNumbers.txt
6060
```
6161

6262
```Output
63-
This is Line 1
64-
This is Line 2
63+
This is line 1.
64+
This is line 2.
6565
...
6666
This is line 99.
6767
This is line 100.
@@ -83,11 +83,11 @@ Get-Content -Path .\LineNumbers.txt -TotalCount 5
8383
```
8484

8585
```Output
86-
This is Line 1
87-
This is Line 2
88-
This is Line 3
89-
This is Line 4
90-
This is Line 5
86+
This is line 1.
87+
This is line 2.
88+
This is line 3.
89+
This is line 4.
90+
This is line 5.
9191
```
9292

9393
### Example 3: Get a specific line of content from a text file
@@ -101,7 +101,7 @@ that content. The **TotalCount** parameter gets the first 25 lines of content. T
101101
```
102102

103103
```Output
104-
This is Line 25
104+
This is line 25.
105105
```
106106

107107
The `Get-Content` command is wrapped in parentheses so that the command completes before going to
@@ -119,7 +119,7 @@ Get-Item -Path .\LineNumbers.txt | Get-Content -Tail 1
119119
```
120120

121121
```Output
122-
This is Line 100
122+
This is line 100.
123123
```
124124

125125
This example uses the `Get-Item` cmdlet to demonstrate that you can pipe files to `Get-Content`. The

reference/docs-conceptual/community/community-support.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: List of resources created for and by PowerShell users
3-
ms.date: 03/30/2025
3+
ms.date: 03/10/2026
4+
no-loc: [Discord, Slack, Spiceworks, "Stack Overflow" ]
45
title: PowerShell community support resources
56
---
67
# Getting support from the community

0 commit comments

Comments
 (0)