Skip to content

Commit 56c7b7a

Browse files
committed
Editorial changes and fix link issue
1 parent 3f3ecd2 commit 56c7b7a

4 files changed

Lines changed: 56 additions & 52 deletions

File tree

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ title: Get-Process
1111
# Get-Process
1212

1313
## SYNOPSIS
14-
1514
Gets the processes that are running on the local computer or a remote computer.
1615

1716
## SYNTAX
@@ -84,7 +83,7 @@ Get-Process
8483
```
8584

8685
This command gets a list of all running processes on the local computer. For a definition of each
87-
display column, see the [Notes](#notes) section.
86+
display column, see the [NOTES](#notes) section.
8887

8988
To see all properties of a **Process** object, use `Get-Process | Get-Member`. By default,
9089
PowerShell displays certain property values using units such as kilobytes (K) and megabytes (M). The
@@ -106,20 +105,20 @@ You can also identify the processes by their process IDs. For instance, `Get-Pro
106105
### Example 3: Get all processes with a working set greater than a specified size
107106

108107
```powershell
109-
Get-Process | Where-Object { $_.WorkingSet -gt 20000000 }
108+
Get-Process | Where-Object { $_.WorkingSet -gt 20971520 }
110109
Get-Process | Where-Object WorkingSet -GT 20MB
111110
```
112111

113-
The first pipeline gets all processes that have a working set greater than 20 MB. It uses the
114-
`Get-Process` cmdlet to get all running processes. The pipeline operator (`|`) pipes each
115-
**Process** object to the `Where-Object` cmdlet, which selects only objects with a **WorkingSet**
116-
value greater than `20000000` bytes.
112+
The `Get-Process` cmdlet returns the running processes. The output is piped to the `Where-Object`
113+
cmdlet, which selects the objects with a **WorkingSet** value greater than 20,971,520 bytes.
117114

118-
The second pipeline uses a
119-
[comparison statement](../Microsoft.PowerShell.Core/Where-Object.md#description) and the `MB`
115+
In the first example, `Where-Object` uses a scriptblock to compare the **WorkingSet** property of
116+
each **Process** object. In the second example, the `Where-Object` cmdlet uses the simplified syntax
117+
to compare the **WorkingSet** property. In this case, `-GT` is a parameter, not a comparison
118+
operator. The second example also uses a
120119
[numeric literal suffix](../Microsoft.PowerShell.Core/About/about_Numeric_Literals.md) as a concise
121-
alternative to the first pipeline. In PowerShell, `MB` represents a mebibyte (MiB) multiplier.
122-
`20MB` is equal to `20971520` bytes.
120+
alternative to `20971520`. In PowerShell, `MB` represents a mebibyte (MiB) multiplier. `20MB` is
121+
equal to 20,971,520 bytes.
123122

124123
### Example 4: Display processes on the computer in groups based on priority
125124

@@ -501,8 +500,8 @@ You can use the built-in alternate views for **Process** objects available with
501500
as **StartTime** and **Priority**. You can also design your own views.
502501

503502
For a description of all available **Process** object members, see
504-
[Process Properties](/dotnet/api/system.diagnostics.process#properties) and
505-
[Process Methods](/dotnet/api/system.diagnostics.process#methods).
503+
[Process Properties](xref:System.Diagnostics.Process#properties) and
504+
[Process Methods](xref:System.Diagnostics.Process#methods).
506505

507506
## RELATED LINKS
508507

@@ -515,3 +514,5 @@ For a description of all available **Process** object members, see
515514
[Stop-Process](Stop-Process.md)
516515

517516
[Wait-Process](Wait-Process.md)
517+
518+
[Where-Object](../Microsoft.PowerShell.Core/Where-Object.md)

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ title: Get-Process
1111
# Get-Process
1212

1313
## SYNOPSIS
14-
1514
Gets the processes that are running on the local computer.
1615

1716
## SYNTAX
@@ -81,7 +80,7 @@ Get-Process
8180
```
8281

8382
This command gets a list of all running processes on the local computer. For a definition of each
84-
display column, see the [Notes](#notes) section.
83+
display column, see the [NOTES](#notes) section.
8584

8685
To see all properties of a **Process** object, use `Get-Process | Get-Member`. By default,
8786
PowerShell displays certain property values using units such as kilobytes (K) and megabytes (M). The
@@ -103,20 +102,20 @@ You can also identify the processes by their process IDs. For instance, `Get-Pro
103102
### Example 3: Get all processes with a working set greater than a specified size
104103

105104
```powershell
106-
Get-Process | Where-Object { $_.WorkingSet -gt 20000000 }
105+
Get-Process | Where-Object { $_.WorkingSet -gt 20971520 }
107106
Get-Process | Where-Object WorkingSet -GT 20MB
108107
```
109108

110-
The first pipeline gets all processes that have a working set greater than 20 MB. It uses the
111-
`Get-Process` cmdlet to get all running processes. The pipeline operator (`|`) pipes each
112-
**Process** object to the `Where-Object` cmdlet, which selects only objects with a **WorkingSet**
113-
value greater than `20000000` bytes.
109+
The `Get-Process` cmdlet returns the running processes. The output is piped to the `Where-Object`
110+
cmdlet, which selects the objects with a **WorkingSet** value greater than 20,971,520 bytes.
114111

115-
The second pipeline uses a
116-
[comparison statement](../Microsoft.PowerShell.Core/Where-Object.md#description) and the `MB`
112+
In the first example, `Where-Object` uses a scriptblock to compare the **WorkingSet** property of
113+
each **Process** object. In the second example, the `Where-Object` cmdlet uses the simplified syntax
114+
to compare the **WorkingSet** property. In this case, `-GT` is a parameter, not a comparison
115+
operator. The second example also uses a
117116
[numeric literal suffix](../Microsoft.PowerShell.Core/About/about_Numeric_Literals.md) as a concise
118-
alternative to the first pipeline. In PowerShell, `MB` represents a mebibyte (MiB) multiplier.
119-
`20MB` is equal to `20971520` bytes.
117+
alternative to `20971520`. In PowerShell, `MB` represents a mebibyte (MiB) multiplier. `20MB` is
118+
equal to 20,971,520 bytes.
120119

121120
### Example 4: Display processes on the computer in groups based on priority
122121

@@ -462,8 +461,8 @@ You can use the built-in alternate views for **Process** objects available with
462461
as **StartTime** and **Priority**. You can also design your own views.
463462

464463
For a description of all available **Process** object members, see
465-
[Process Properties](/dotnet/api/system.diagnostics.process#properties) and
466-
[Process Methods](/dotnet/api/system.diagnostics.process#methods).
464+
[Process Properties](xref:System.Diagnostics.Process#properties) and
465+
[Process Methods](xref:System.Diagnostics.Process#methods).
467466

468467
## RELATED LINKS
469468

@@ -476,3 +475,5 @@ For a description of all available **Process** object members, see
476475
[Stop-Process](Stop-Process.md)
477476

478477
[Wait-Process](Wait-Process.md)
478+
479+
[Where-Object](../Microsoft.PowerShell.Core/Where-Object.md)

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ title: Get-Process
1111
# Get-Process
1212

1313
## SYNOPSIS
14-
1514
Gets the processes that are running on the local computer.
1615

1716
## SYNTAX
@@ -81,7 +80,7 @@ Get-Process
8180
```
8281

8382
This command gets a list of all running processes on the local computer. For a definition of each
84-
display column, see the [Notes](#notes) section.
83+
display column, see the [NOTES](#notes) section.
8584

8685
To see all properties of a **Process** object, use `Get-Process | Get-Member`. By default,
8786
PowerShell displays certain property values using units such as kilobytes (K) and megabytes (M). The
@@ -103,20 +102,20 @@ You can also identify the processes by their process IDs. For instance, `Get-Pro
103102
### Example 3: Get all processes with a working set greater than a specified size
104103

105104
```powershell
106-
Get-Process | Where-Object { $_.WorkingSet -gt 20000000 }
105+
Get-Process | Where-Object { $_.WorkingSet -gt 20971520 }
107106
Get-Process | Where-Object WorkingSet -GT 20MB
108107
```
109108

110-
The first pipeline gets all processes that have a working set greater than 20 MB. It uses the
111-
`Get-Process` cmdlet to get all running processes. The pipeline operator (`|`) pipes each
112-
**Process** object to the `Where-Object` cmdlet, which selects only objects with a **WorkingSet**
113-
value greater than `20000000` bytes.
109+
The `Get-Process` cmdlet returns the running processes. The output is piped to the `Where-Object`
110+
cmdlet, which selects the objects with a **WorkingSet** value greater than 20,971,520 bytes.
114111

115-
The second pipeline uses a
116-
[comparison statement](../Microsoft.PowerShell.Core/Where-Object.md#description) and the `MB`
112+
In the first example, `Where-Object` uses a scriptblock to compare the **WorkingSet** property of
113+
each **Process** object. In the second example, the `Where-Object` cmdlet uses the simplified syntax
114+
to compare the **WorkingSet** property. In this case, `-GT` is a parameter, not a comparison
115+
operator. The second example also uses a
117116
[numeric literal suffix](../Microsoft.PowerShell.Core/About/about_Numeric_Literals.md) as a concise
118-
alternative to the first pipeline. In PowerShell, `MB` represents a mebibyte (MiB) multiplier.
119-
`20MB` is equal to `20971520` bytes.
117+
alternative to `20971520`. In PowerShell, `MB` represents a mebibyte (MiB) multiplier. `20MB` is
118+
equal to 20,971,520 bytes.
120119

121120
### Example 4: Display processes on the computer in groups based on priority
122121

@@ -462,8 +461,8 @@ You can use the built-in alternate views for **Process** objects available with
462461
as **StartTime** and **Priority**. You can also design your own views.
463462

464463
For a description of all available **Process** object members, see
465-
[Process Properties](/dotnet/api/system.diagnostics.process#properties) and
466-
[Process Methods](/dotnet/api/system.diagnostics.process#methods).
464+
[Process Properties](xref:System.Diagnostics.Process#properties) and
465+
[Process Methods](xref:System.Diagnostics.Process#methods).
467466

468467
## RELATED LINKS
469468

@@ -476,3 +475,5 @@ For a description of all available **Process** object members, see
476475
[Stop-Process](Stop-Process.md)
477476

478477
[Wait-Process](Wait-Process.md)
478+
479+
[Where-Object](../Microsoft.PowerShell.Core/Where-Object.md)

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ title: Get-Process
1111
# Get-Process
1212

1313
## SYNOPSIS
14-
1514
Gets the processes that are running on the local computer.
1615

1716
## SYNTAX
@@ -81,7 +80,7 @@ Get-Process
8180
```
8281

8382
This command gets a list of all running processes on the local computer. For a definition of each
84-
display column, see the [Notes](#notes) section.
83+
display column, see the [NOTES](#notes) section.
8584

8685
To see all properties of a **Process** object, use `Get-Process | Get-Member`. By default,
8786
PowerShell displays certain property values using units such as kilobytes (K) and megabytes (M). The
@@ -103,20 +102,20 @@ You can also identify the processes by their process IDs. For instance, `Get-Pro
103102
### Example 3: Get all processes with a working set greater than a specified size
104103

105104
```powershell
106-
Get-Process | Where-Object { $_.WorkingSet -gt 20000000 }
105+
Get-Process | Where-Object { $_.WorkingSet -gt 20971520 }
107106
Get-Process | Where-Object WorkingSet -GT 20MB
108107
```
109108

110-
The first pipeline gets all processes that have a working set greater than 20 MB. It uses the
111-
`Get-Process` cmdlet to get all running processes. The pipeline operator (`|`) pipes each
112-
**Process** object to the `Where-Object` cmdlet, which selects only objects with a **WorkingSet**
113-
value greater than `20000000` bytes.
109+
The `Get-Process` cmdlet returns the running processes. The output is piped to the `Where-Object`
110+
cmdlet, which selects the objects with a **WorkingSet** value greater than 20,971,520 bytes.
114111

115-
The second pipeline uses a
116-
[comparison statement](../Microsoft.PowerShell.Core/Where-Object.md#description) and the `MB`
112+
In the first example, `Where-Object` uses a scriptblock to compare the **WorkingSet** property of
113+
each **Process** object. In the second example, the `Where-Object` cmdlet uses the simplified syntax
114+
to compare the **WorkingSet** property. In this case, `-GT` is a parameter, not a comparison
115+
operator. The second example also uses a
117116
[numeric literal suffix](../Microsoft.PowerShell.Core/About/about_Numeric_Literals.md) as a concise
118-
alternative to the first pipeline. In PowerShell, `MB` represents a mebibyte (MiB) multiplier.
119-
`20MB` is equal to `20971520` bytes.
117+
alternative to `20971520`. In PowerShell, `MB` represents a mebibyte (MiB) multiplier. `20MB` is
118+
equal to 20,971,520 bytes.
120119

121120
### Example 4: Display processes on the computer in groups based on priority
122121

@@ -462,8 +461,8 @@ You can use the built-in alternate views for **Process** objects available with
462461
as **StartTime** and **Priority**. You can also design your own views.
463462

464463
For a description of all available **Process** object members, see
465-
[Process Properties](/dotnet/api/system.diagnostics.process#properties) and
466-
[Process Methods](/dotnet/api/system.diagnostics.process#methods).
464+
[Process Properties](xref:System.Diagnostics.Process#properties) and
465+
[Process Methods](xref:System.Diagnostics.Process#methods).
467466

468467
## RELATED LINKS
469468

@@ -476,3 +475,5 @@ For a description of all available **Process** object members, see
476475
[Stop-Process](Stop-Process.md)
477476

478477
[Wait-Process](Wait-Process.md)
478+
479+
[Where-Object](../Microsoft.PowerShell.Core/Where-Object.md)

0 commit comments

Comments
 (0)