From 8089e7ae79e8f922b0c47fcb45912a4ce1b75e1f Mon Sep 17 00:00:00 2001 From: surfingoldelephant <151538956+surfingoldelephant@users.noreply.github.com> Date: Sat, 11 Jan 2025 09:52:48 +0000 Subject: [PATCH] Fix about_Comments typos --- .../Microsoft.PowerShell.Core/About/about_Comments.md | 8 ++++---- .../Microsoft.PowerShell.Core/About/about_Comments.md | 10 +++++----- .../Microsoft.PowerShell.Core/About/about_Comments.md | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Comments.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Comments.md index d9059c9c1289..a31be4719af9 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Comments.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Comments.md @@ -127,14 +127,14 @@ function Get-Function { } For more information, see: -- [about_Comment_Based_Help][05]. +- [about_Comment_Based_Help][05] - [Writing Comment-Based Help Topics][03] ### `#Requires` The `#Requires` statement prevents a script from running unless the current -PowerShell sessions meets the specified prerequisites. `#Requires` can appear -on any line in a script, but is processed in the same manner regardless of +PowerShell session meets the specified prerequisites. `#Requires` can appear on +any line in a script, but is processed in the same manner regardless of position. ```powershell @@ -171,7 +171,7 @@ sections of code. For PowerShell, the region markers are comments that begin with `#region` and end with `#endregion`. The region markers must be at the beginning of a line. The region markers are supported in the PowerShell ISE and in Visual Studio Code with the PowerShell extension. The region markers aren't -a part of the PowerShell language. PowerShell interprets them as a regular +a part of the PowerShell language. PowerShell interprets them as regular comments. For more information, see the _Folding_ section of the diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Comments.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Comments.md index c6ba96e932bc..4c4ff6dba43e 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Comments.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Comments.md @@ -127,14 +127,14 @@ function Get-Function { } For more information, see: -- [about_Comment_Based_Help][05]. +- [about_Comment_Based_Help][05] - [Writing Comment-Based Help Topics][03] ### `#Requires` The `#Requires` statement prevents a script from running unless the current -PowerShell sessions meets the specified prerequisites. `#Requires` can appear -on any line in a script, but is processed in the same manner regardless of +PowerShell session meets the specified prerequisites. `#Requires` can appear on +any line in a script, but is processed in the same manner regardless of position. ```powershell @@ -171,7 +171,7 @@ beginning of a script to indicate which shell should be used to run the script. Shebang isn't a part of the PowerShell language. PowerShell interprets it as a regular comment. Shebang is interpreted by the operating system. -In the following example, the shebang ensures PowerShell run the script when +In the following example, the shebang ensures PowerShell runs the script when the script is invoked from a non-PowerShell context. ```powershell @@ -186,7 +186,7 @@ sections of code. For PowerShell, the region markers are comments that begin with `#region` and end with `#endregion`. The region markers must be at the beginning of a line. The region markers are supported in the PowerShell ISE and in Visual Studio Code with the PowerShell extension. The region markers aren't -a part of the PowerShell language. PowerShell interprets them as a regular +a part of the PowerShell language. PowerShell interprets them as regular comments. For more information, see the _Folding_ section of the diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Comments.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Comments.md index 8a7af6f594c4..eb04c4c1a95d 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Comments.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Comments.md @@ -127,14 +127,14 @@ function Get-Function { } For more information, see: -- [about_Comment_Based_Help][05]. +- [about_Comment_Based_Help][05] - [Writing Comment-Based Help Topics][03] ### `#Requires` The `#Requires` statement prevents a script from running unless the current -PowerShell sessions meets the specified prerequisites. `#Requires` can appear -on any line in a script, but is processed in the same manner regardless of +PowerShell session meets the specified prerequisites. `#Requires` can appear on +any line in a script, but is processed in the same manner regardless of position. ```powershell @@ -171,7 +171,7 @@ beginning of a script to indicate which shell should be used to run the script. Shebang isn't a part of the PowerShell language. PowerShell interprets it as a regular comment. Shebang is interpreted by the operating system. -In the following example, the shebang ensures PowerShell run the script when +In the following example, the shebang ensures PowerShell runs the script when the script is invoked from a non-PowerShell context. ```powershell @@ -186,7 +186,7 @@ sections of code. For PowerShell, the region markers are comments that begin with `#region` and end with `#endregion`. The region markers must be at the beginning of a line. The region markers are supported in the PowerShell ISE and in Visual Studio Code with the PowerShell extension. The region markers aren't -a part of the PowerShell language. PowerShell interprets them as a regular +a part of the PowerShell language. PowerShell interprets them as regular comments. For more information, see the _Folding_ section of the