From 8a012b27386d5b394f6bdac614579b44391676fb Mon Sep 17 00:00:00 2001 From: mrchatam Date: Sun, 13 Sep 2026 03:22:17 +0000 Subject: [PATCH 1/2] docs: fix 'Allows to' grammar in about_Arrays ForEach/Where --- reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md index e03a604f9df9..1ba910eb8dfa 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -500,7 +500,7 @@ $intA ### ForEach() -Allows to iterate over all elements in the array and perform a given operation +Allows you to iterate over all elements in the array and perform a given operation for each element of the array. The `ForEach()` method has several overloads that perform different operations. @@ -674,7 +674,7 @@ to accept them. ### Where() -Allows to filter or select the elements of the array. The script must evaluate +Allows you to filter or select the elements of the array. The script must evaluate to anything different than: zero (0), empty string, `$false` or `$null` for the element to show after the `Where()`. For more information about boolean evaluation, see [about_Booleans][04]. From 27906a95c65c639ece6407aa2e4ac31d02a1991a Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 14 Sep 2026 08:34:13 -0500 Subject: [PATCH 2/2] Copy changes to all versions --- .../Microsoft.PowerShell.Core/About/about_Arrays.md | 12 ++++++------ .../Microsoft.PowerShell.Core/About/about_Arrays.md | 12 ++++++------ .../Microsoft.PowerShell.Core/About/about_Arrays.md | 12 ++++++------ .../Microsoft.PowerShell.Core/About/about_Arrays.md | 12 ++++++------ .../Microsoft.PowerShell.Core/About/about_Arrays.md | 12 ++++++------ 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Arrays.md index e6de0b72bfdc..213fbf296517 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -500,8 +500,8 @@ $intA ### ForEach() -Allows to iterate over all elements in the array and perform a given operation -for each element of the array. +Allows you to iterate over all elements in the array and perform a given +operation for each element of the array. The `ForEach()` method has several overloads that perform different operations. @@ -667,10 +667,10 @@ to accept them. ### Where() -Allows to filter or select the elements of the array. The script must evaluate -to anything different than: zero (0), empty string, `$false` or `$null` for the -element to show after the `Where()`. For more information about boolean -evaluation, see [about_Booleans][04]. +Allows you to filter or select the elements of the array. The script must +evaluate to anything different than: zero (0), empty string, `$false` or +`$null` for the element to show after the `Where()`. For more information about +boolean evaluation, see [about_Booleans][04]. There is one definition for the `Where()` method. diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md index 363d553eeef9..74c5e78643ba 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -500,8 +500,8 @@ $intA ### ForEach() -Allows to iterate over all elements in the array and perform a given operation -for each element of the array. +Allows you to iterate over all elements in the array and perform a given +operation for each element of the array. The `ForEach()` method has several overloads that perform different operations. @@ -667,10 +667,10 @@ to accept them. ### Where() -Allows to filter or select the elements of the array. The script must evaluate -to anything different than: zero (0), empty string, `$false` or `$null` for the -element to show after the `Where()`. For more information about boolean -evaluation, see [about_Booleans][04]. +Allows you to filter or select the elements of the array. The script must +evaluate to anything different than: zero (0), empty string, `$false` or +`$null` for the element to show after the `Where()`. For more information about +boolean evaluation, see [about_Booleans][04]. There is one definition for the `Where()` method. diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Arrays.md index e8e37855029b..19decf5b9dd4 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -500,8 +500,8 @@ $intA ### ForEach() -Allows to iterate over all elements in the array and perform a given operation -for each element of the array. +Allows you to iterate over all elements in the array and perform a given +operation for each element of the array. The `ForEach()` method has several overloads that perform different operations. @@ -667,10 +667,10 @@ to accept them. ### Where() -Allows to filter or select the elements of the array. The script must evaluate -to anything different than: zero (0), empty string, `$false` or `$null` for the -element to show after the `Where()`. For more information about boolean -evaluation, see [about_Booleans][04]. +Allows you to filter or select the elements of the array. The script must +evaluate to anything different than: zero (0), empty string, `$false` or +`$null` for the element to show after the `Where()`. For more information about +boolean evaluation, see [about_Booleans][04]. There is one definition for the `Where()` method. diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md index 1ba910eb8dfa..a4ae4f83be74 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -500,8 +500,8 @@ $intA ### ForEach() -Allows you to iterate over all elements in the array and perform a given operation -for each element of the array. +Allows you to iterate over all elements in the array and perform a given +operation for each element of the array. The `ForEach()` method has several overloads that perform different operations. @@ -674,10 +674,10 @@ to accept them. ### Where() -Allows you to filter or select the elements of the array. The script must evaluate -to anything different than: zero (0), empty string, `$false` or `$null` for the -element to show after the `Where()`. For more information about boolean -evaluation, see [about_Booleans][04]. +Allows you to filter or select the elements of the array. The script must +evaluate to anything different than: zero (0), empty string, `$false` or +`$null` for the element to show after the `Where()`. For more information about +boolean evaluation, see [about_Booleans][04]. There is one definition for the `Where()` method. diff --git a/reference/7.7/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.7/Microsoft.PowerShell.Core/About/about_Arrays.md index a5db8306aadd..d88fc6a01e4d 100644 --- a/reference/7.7/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.7/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -500,8 +500,8 @@ $intA ### ForEach() -Allows to iterate over all elements in the array and perform a given operation -for each element of the array. +Allows you to iterate over all elements in the array and perform a given +operation for each element of the array. The `ForEach()` method has several overloads that perform different operations. @@ -674,10 +674,10 @@ to accept them. ### Where() -Allows to filter or select the elements of the array. The script must evaluate -to anything different than: zero (0), empty string, `$false` or `$null` for the -element to show after the `Where()`. For more information about boolean -evaluation, see [about_Booleans][04]. +Allows you to filter or select the elements of the array. The script must +evaluate to anything different than: zero (0), empty string, `$false` or +`$null` for the element to show after the `Where()`. For more information about +boolean evaluation, see [about_Booleans][04]. There is one definition for the `Where()` method.