Skip to content

Commit 1c75412

Browse files
Apply suggestions from review
1 parent 35666e8 commit 1c75412

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

reference/5.1/Microsoft.PowerShell.Core/ForEach-Object.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ command.
5252
> The script blocks run in the caller's scope. Therefore, the blocks have access to variables in
5353
> that scope and can create new variables that persist in that scope after the cmdlet completes.
5454
55-
- **Simplified syntax**. Using the simplified syntax, you a property or method name of the object in
56-
the pipeline. `ForEach-Object` returns the value of the property or method for each object in the
57-
pipeline.
55+
- **Simplified syntax**. Using the simplified syntax, you specify a property or method name of the
56+
object in the pipeline. `ForEach-Object` returns the value of the property or method for each
57+
object in the pipeline.
5858

5959
For example, the following command also gets the value of the **ProcessName** property of each
6060
process on the computer.

reference/5.1/Microsoft.PowerShell.Core/Where-Object.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,11 @@ command.
253253
All PowerShell comparison operators are valid in the script block format. For more information,
254254
see [about_Comparison_Operators](./About/about_Comparison_Operators.md).
255255

256-
- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 swicth
256+
- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 switch
257257
parameters that represent the comparison operators. The simplified syntax is easier to read and
258258
write than the script block syntax. You can combine one of the switch parameters with the
259-
**Property** and **Value** parameters to create a command that filters objects based on the values of
260-
their properties.
259+
**Property** and **Value** parameters to create a command that filters objects based on the
260+
values of their properties.
261261

262262
For example, the following commands also get processes that have a priority class of `Normal`.
263263
These commands are equivalent and you can use them interchangeably.

reference/7.4/Microsoft.PowerShell.Core/ForEach-Object.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ command.
6161
> The script blocks run in the caller's scope. Therefore, the blocks have access to variables in
6262
> that scope and can create new variables that persist in that scope after the cmdlet completes.
6363
64-
- **Simplified syntax**. Using the simplified syntax, you a property or method name of the object in
65-
the pipeline. `ForEach-Object` returns the value of the property or method for each object in the
66-
pipeline.
64+
- **Simplified syntax**. Using the simplified syntax, you specify a property or method name of the
65+
object in the pipeline. `ForEach-Object` returns the value of the property or method for each
66+
object in the pipeline.
6767

6868
For example, the following command also gets the value of the **ProcessName** property of each
6969
process on the computer.

reference/7.4/Microsoft.PowerShell.Core/Where-Object.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ command.
260260
All PowerShell comparison operators are valid in the script block format. For more information,
261261
see [about_Comparison_Operators](./About/about_Comparison_Operators.md).
262262

263-
- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 swicth
263+
- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 switch
264264
parameters that represent the comparison operators. The simplified syntax is easier to read and
265265
write than the script block syntax. You can combine one of the switch parameters with the
266-
**Property** and **Value** parameters to create a command that filters objects based on the values of
267-
their properties.
266+
**Property** and **Value** parameters to create a command that filters objects based on the
267+
values of their properties.
268268

269269
For example, the following commands also get processes that have a priority class of `Normal`.
270270
These commands are equivalent and you can use them interchangeably.

reference/7.5/Microsoft.PowerShell.Core/ForEach-Object.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ command.
6161
> The script blocks run in the caller's scope. Therefore, the blocks have access to variables in
6262
> that scope and can create new variables that persist in that scope after the cmdlet completes.
6363
64-
- **Simplified syntax**. Using the simplified syntax, you a property or method name of the object in
65-
the pipeline. `ForEach-Object` returns the value of the property or method for each object in the
66-
pipeline.
64+
- **Simplified syntax**. Using the simplified syntax, you specify a property or method name of the
65+
object in the pipeline. `ForEach-Object` returns the value of the property or method for each
66+
object in the pipeline.
6767

6868
For example, the following command also gets the value of the **ProcessName** property of each
6969
process on the computer.

reference/7.5/Microsoft.PowerShell.Core/Where-Object.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ command.
260260
All PowerShell comparison operators are valid in the script block format. For more information,
261261
see [about_Comparison_Operators](./About/about_Comparison_Operators.md).
262262

263-
- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 swicth
263+
- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 switch
264264
parameters that represent the comparison operators. The simplified syntax is easier to read and
265265
write than the script block syntax. You can combine one of the switch parameters with the
266-
**Property** and **Value** parameters to create a command that filters objects based on the values of
267-
their properties.
266+
**Property** and **Value** parameters to create a command that filters objects based on the
267+
values of their properties.
268268

269269
For example, the following commands also get processes that have a priority class of `Normal`.
270270
These commands are equivalent and you can use them interchangeably.

reference/7.6/Microsoft.PowerShell.Core/ForEach-Object.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ command.
6161
> The script blocks run in the caller's scope. Therefore, the blocks have access to variables in
6262
> that scope and can create new variables that persist in that scope after the cmdlet completes.
6363
64-
- **Simplified syntax**. Using the simplified syntax, you a property or method name of the object in
65-
the pipeline. `ForEach-Object` returns the value of the property or method for each object in the
66-
pipeline.
64+
- **Simplified syntax**. Using the simplified syntax, you specify a property or method name of the
65+
object in the pipeline. `ForEach-Object` returns the value of the property or method for each
66+
object in the pipeline.
6767

6868
For example, the following command also gets the value of the **ProcessName** property of each
6969
process on the computer.

reference/7.6/Microsoft.PowerShell.Core/Where-Object.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ command.
260260
All PowerShell comparison operators are valid in the script block format. For more information,
261261
see [about_Comparison_Operators](./About/about_Comparison_Operators.md).
262262

263-
- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 swicth
263+
- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 switch
264264
parameters that represent the comparison operators. The simplified syntax is easier to read and
265265
write than the script block syntax. You can combine one of the switch parameters with the
266-
**Property** and **Value** parameters to create a command that filters objects based on the values of
267-
their properties.
266+
**Property** and **Value** parameters to create a command that filters objects based on the
267+
values of their properties.
268268

269269
For example, the following commands also get processes that have a priority class of `Normal`.
270270
These commands are equivalent and you can use them interchangeably.

0 commit comments

Comments
 (0)