diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_PSItem.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_PSItem.md index 0c1e68f728e..f341e8d1b70 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_PSItem.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_PSItem.md @@ -14,7 +14,7 @@ The automatic variable that contains the current object in the pipeline object. ## Long description -PowerShell includes two [automatic variables][03], `$_` and '$PSItem` that +PowerShell includes two [automatic variables][03], `$_` and `$PSItem` that refer to the current object in the pipeline. `$PSItem` was added to PowerShell in an attempt to provide a clearer meaning to @@ -27,7 +27,7 @@ with `$_` in every example. `$_` is the preferred usage. There are a few common use cases for `$PSItem`: - In the scriptblock for the **Process** parameter of the - `ForEach-Object`cmdlet + `ForEach-Object` cmdlet - In the scriptblock for the **FilterScript** parameter of the `Where-Object` cmdlet - In the intrinsic methods **ForEach** and **Where** diff --git a/reference/5.1/Microsoft.PowerShell.Core/Clear-History.md b/reference/5.1/Microsoft.PowerShell.Core/Clear-History.md index a24d3587018..5388c8514ea 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/Clear-History.md +++ b/reference/5.1/Microsoft.PowerShell.Core/Clear-History.md @@ -20,7 +20,8 @@ Deletes entries from the PowerShell session command history. ### IDParameter (Default) ``` -Clear-History [[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] +Clear-History [[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] + [] ``` ### CommandLineParameter @@ -258,7 +259,8 @@ wildcards to match commands in the PowerShell session history displayed by `Get- enter more than one string, `Clear-History` deletes commands that match any of the strings. The **CommandLine** parameter can be used with **Count**. -For strings with a space, use single quotations. For more information, see [about_Quoting_Rules](About/about_Quoting_Rules.md). +For strings with a space, use single quotations. For more information, see +[about_Quoting_Rules](About/about_Quoting_Rules.md). ```yaml Type: System.String[] @@ -401,7 +403,8 @@ information, see [about_History](About/about_History.md). The session history is managed separately from the history maintained by the **PSReadLine** module. Both histories are available in sessions where **PSReadLine** is loaded. This cmdlet only works with -the session history. For more information see, [about_PSReadLine](../PSReadLine/About/about_PSReadLine.md). +the session history. For more information, see +[about_PSReadLine](../PSReadLine/About/about_PSReadLine.md). ## RELATED LINKS diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_PSItem.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_PSItem.md index 89c323f46dd..f424a92b641 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_PSItem.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_PSItem.md @@ -14,7 +14,7 @@ The automatic variable that contains the current object in the pipeline object. ## Long description -PowerShell includes two [automatic variables][03], `$_` and '$PSItem` that +PowerShell includes two [automatic variables][03], `$_` and `$PSItem` that refer to the current object in the pipeline. `$PSItem` was added to PowerShell in an attempt to provide a clearer meaning to @@ -27,7 +27,7 @@ with `$_` in every example. `$_` is the preferred usage. There are a few common use cases for `$PSItem`: - In the scriptblock for the **Process** parameter of the - `ForEach-Object`cmdlet + `ForEach-Object` cmdlet - In the scriptblock for the **FilterScript** parameter of the `Where-Object` cmdlet - In the intrinsic methods **ForEach** and **Where** diff --git a/reference/7.4/Microsoft.PowerShell.Core/Clear-History.md b/reference/7.4/Microsoft.PowerShell.Core/Clear-History.md index 91e819d8550..e7c9a6477be 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/Clear-History.md +++ b/reference/7.4/Microsoft.PowerShell.Core/Clear-History.md @@ -20,7 +20,8 @@ Deletes entries from the PowerShell session command history. ### IDParameter (Default) ``` -Clear-History [[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] +Clear-History [[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] + [] ``` ### CommandLineParameter @@ -258,7 +259,8 @@ wildcards to match commands in the PowerShell session history displayed by `Get- enter more than one string, `Clear-History` deletes commands that match any of the strings. The **CommandLine** parameter can be used with **Count**. -For strings with a space, use single quotations. For more information, see [about_Quoting_Rules](About/about_Quoting_Rules.md). +For strings with a space, use single quotations. For more information, see +[about_Quoting_Rules](About/about_Quoting_Rules.md). ```yaml Type: System.String[] @@ -402,7 +404,8 @@ information, see [about_History](About/about_History.md). The session history is managed separately from the history maintained by the **PSReadLine** module. Both histories are available in sessions where **PSReadLine** is loaded. This cmdlet only works with -the session history. For more information see, [about_PSReadLine](../PSReadLine/About/about_PSReadLine.md). +the session history. For more information, see +[about_PSReadLine](../PSReadLine/About/about_PSReadLine.md). ## RELATED LINKS diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_PSItem.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_PSItem.md index cdcace16813..783396430d1 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_PSItem.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_PSItem.md @@ -14,7 +14,7 @@ The automatic variable that contains the current object in the pipeline object. ## Long description -PowerShell includes two [automatic variables][03], `$_` and '$PSItem` that +PowerShell includes two [automatic variables][03], `$_` and `$PSItem` that refer to the current object in the pipeline. `$PSItem` was added to PowerShell in an attempt to provide a clearer meaning to @@ -27,7 +27,7 @@ with `$_` in every example. `$_` is the preferred usage. There are a few common use cases for `$PSItem`: - In the scriptblock for the **Process** parameter of the - `ForEach-Object`cmdlet + `ForEach-Object` cmdlet - In the scriptblock for the **FilterScript** parameter of the `Where-Object` cmdlet - In the intrinsic methods **ForEach** and **Where** diff --git a/reference/7.5/Microsoft.PowerShell.Core/Clear-History.md b/reference/7.5/Microsoft.PowerShell.Core/Clear-History.md index 24d690c0aaa..e2fdbd0374b 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/Clear-History.md +++ b/reference/7.5/Microsoft.PowerShell.Core/Clear-History.md @@ -20,7 +20,8 @@ Deletes entries from the PowerShell session command history. ### IDParameter (Default) ``` -Clear-History [[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] +Clear-History [[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] + [] ``` ### CommandLineParameter @@ -403,7 +404,7 @@ information, see [about_History](About/about_History.md). The session history is managed separately from the history maintained by the **PSReadLine** module. Both histories are available in sessions where **PSReadLine** is loaded. This cmdlet only works with -the session history. For more information see, +the session history. For more information, see [about_PSReadLine](../PSReadLine/About/about_PSReadLine.md). ## RELATED LINKS diff --git a/reference/7.6/Microsoft.PowerShell.Core/Clear-History.md b/reference/7.6/Microsoft.PowerShell.Core/Clear-History.md index 1cc0ad43f8c..1aef2af231d 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/Clear-History.md +++ b/reference/7.6/Microsoft.PowerShell.Core/Clear-History.md @@ -20,7 +20,8 @@ Deletes entries from the PowerShell session command history. ### IDParameter (Default) ``` -Clear-History [[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] [] +Clear-History [[-Id] ] [[-Count] ] [-Newest] [-WhatIf] [-Confirm] + [] ``` ### CommandLineParameter @@ -258,7 +259,8 @@ wildcards to match commands in the PowerShell session history displayed by `Get- enter more than one string, `Clear-History` deletes commands that match any of the strings. The **CommandLine** parameter can be used with **Count**. -For strings with a space, use single quotations. For more information, see [about_Quoting_Rules](About/about_Quoting_Rules.md). +For strings with a space, use single quotations. For more information, see +[about_Quoting_Rules](About/about_Quoting_Rules.md). ```yaml Type: System.String[] @@ -402,7 +404,8 @@ information, see [about_History](About/about_History.md). The session history is managed separately from the history maintained by the **PSReadLine** module. Both histories are available in sessions where **PSReadLine** is loaded. This cmdlet only works with -the session history. For more information see, [about_PSReadLine](../PSReadLine/About/about_PSReadLine.md). +the session history. For more information, see +[about_PSReadLine](../PSReadLine/About/about_PSReadLine.md). ## RELATED LINKS diff --git a/reference/7.7/Microsoft.PowerShell.Core/About/about_PSItem.md b/reference/7.7/Microsoft.PowerShell.Core/About/about_PSItem.md index cc60bc30d08..ed1bfa1b100 100644 --- a/reference/7.7/Microsoft.PowerShell.Core/About/about_PSItem.md +++ b/reference/7.7/Microsoft.PowerShell.Core/About/about_PSItem.md @@ -14,7 +14,7 @@ The automatic variable that contains the current object in the pipeline object. ## Long description -PowerShell includes two [automatic variables][03], `$_` and '$PSItem` that +PowerShell includes two [automatic variables][03], `$_` and `$PSItem` that refer to the current object in the pipeline. `$PSItem` was added to PowerShell in an attempt to provide a clearer meaning to @@ -27,7 +27,7 @@ with `$_` in every example. `$_` is the preferred usage. There are a few common use cases for `$PSItem`: - In the scriptblock for the **Process** parameter of the - `ForEach-Object`cmdlet + `ForEach-Object` cmdlet - In the scriptblock for the **FilterScript** parameter of the `Where-Object` cmdlet - In the intrinsic methods **ForEach** and **Where**