Skip to content

Commit f1e4277

Browse files
Remove link references
1 parent 13244ad commit f1e4277

File tree

4 files changed

+108
-164
lines changed

4 files changed

+108
-164
lines changed

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

Lines changed: 27 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ information returned by this cmdlet.
7373
> [!NOTE]
7474
> A module is an executable file or a dynamic link library (DLL) loaded into a process. A process
7575
> has one or more modules. The main module is the module used to initially start the process. For
76-
> more information, see [ProcessModule Class][01].
76+
> more information, see [ProcessModule Class](/dotnet/api/system.diagnostics.processmodule).
7777
7878
## EXAMPLES
7979

@@ -84,7 +84,7 @@ Get-Process
8484
```
8585

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

8989
To see all properties of a **Process** object, use `Get-Process | Get-Member`. By default,
9090
PowerShell displays certain property values using units such as kilobytes (K) and megabytes (M). The
@@ -115,9 +115,10 @@ The first pipeline gets all processes that have a working set greater than 20 MB
115115
**Process** object to the `Where-Object` cmdlet, which selects only objects with a **WorkingSet**
116116
value greater than `20000000` bytes.
117117

118-
The second pipeline uses a [comparison statement][03] and the `MB` [numeric literal suffix][04] as a
119-
concise alternative to the first pipeline. In PowerShell, `MB` represents a mebibyte (MiB)
120-
multiplier. `20MB` is equal to `20971520` bytes.
118+
The second pipeline uses a
119+
[comparison statement](xref:Microsoft.PowerShell.Core.Where-Object#description) and the `MB`
120+
[numeric literal suffix](about_Numeric_Literals.md) as a concise alternative to the first pipeline.
121+
In PowerShell, `MB` represents a mebibyte (MiB) multiplier. `20MB` is equal to `20971520` bytes.
121122

122123
### Example 4: Display processes on the computer in groups based on priority
123124

@@ -126,8 +127,9 @@ $processes = Get-Process
126127
$processes | Sort-Object { $_.PriorityClass } | Format-Table -View Priority
127128
```
128129

129-
These commands display processes on the computer in groups based on their [priority class][05]. The
130-
first command gets all processes on the computer and stores them in the `$processes` variable.
130+
These commands display processes on the computer in groups based on their
131+
[priority class](/dotnet/api/system.diagnostics.processpriorityclass). The first command gets all
132+
processes on the computer and stores them in the `$processes` variable.
131133

132134
The second command pipes the **Process** objects stored in the `$processes` variable to the
133135
`Sort-Object` cmdlet, then to the `Format-Table` cmdlet, which formats the processes using the
@@ -162,8 +164,8 @@ Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName StartTime
162164

163165
This example retrieves processes from the local computer and pipes each **Process** object to the
164166
`Format-Table` cmdlet. `Format-Table` recreates the default output display of a **Process** object
165-
using a mixture of property names and [calculated properties][06]. The display includes an
166-
additional **StartTime** property not present in the default display.
167+
using a mixture of property names and [calculated properties](about_Calculated_Properties.md). The
168+
display includes an additional **StartTime** property not present in the default display.
167169

168170
### Example 6: Get version information for a process
169171

@@ -468,16 +470,18 @@ On computers running 64-bit Windows, the 64-bit version of PowerShell gets the m
468470
> [!WARNING]
469471
> When you use `Get-Process` to get a 64-bit process in the 32-bit version of PowerShell, properties
470472
> such as `Path` and `MainModule` of the returned **Process** object are `$null`. You must use
471-
> either the 64-bit version of PowerShell or the [Win32_Process][08] class.
473+
> either the 64-bit version of PowerShell or the
474+
> [Win32_Process](/windows/desktop/CIMWin32Prov/win32-process) class.
472475

473476
To get process information from a remote computer, use the `Invoke-Command` cmdlet. For more
474-
information, see [Invoke-Command][07].
477+
information, see [Invoke-Command](xref:Microsoft.PowerShell.Core.Invoke-Command).
475478

476-
You can use the Windows Management Instrumentation (WMI) [Win32_Process][08] class in PowerShell as
477-
an alternative to `Get-Process`. For more information, see:
479+
You can use the Windows Management Instrumentation (WMI)
480+
[Win32_Process](/windows/desktop/CIMWin32Prov/win32-process) class in PowerShell as an alternative
481+
to `Get-Process`. For more information, see:
478482

479-
- [Example 8: Find the owner of a process][09]
480-
- [Get-CimInstance][10]
483+
- [Example 8: Find the owner of a process](#example-8-find-the-owner-of-a-process)
484+
- [Get-CimInstance](xref:CimCmdlets.Get-CimInstance)
481485

482486
The default display of a **Process** object is a table view that includes the following columns.
483487

@@ -494,32 +498,14 @@ The default display of a **Process** object is a table view that includes the fo
494498
You can use the built-in alternate views for **Process** objects available with `Format-Table`, such
495499
as **StartTime** and **Priority**. You can also design your own views.
496500

497-
For a description of all available **Process** object members, see [Process Properties][11] and
498-
[Process Methods][12].
501+
For a description of all available **Process** object members, see
502+
[Process Properties](/dotnet/api/system.diagnostics.process#properties) and
503+
[Process Methods](/dotnet/api/system.diagnostics.process#methods).
499504

500505
## RELATED LINKS
501506

502-
- [Debug-Process][13]
503-
- [Get-Process][14]
504-
- [Start-Process][15]
505-
- [Stop-Process][16]
506-
- [Wait-Process][17]
507-
508-
<!-- link references -->
509-
[01]: /dotnet/api/system.diagnostics.processmodule
510-
[02]: #notes
511-
[03]: xref:Microsoft.PowerShell.Core.Where-Object#description
512-
[04]: about_Numeric_Literals.md
513-
[05]: /dotnet/api/system.diagnostics.processpriorityclass
514-
[06]: about_Calculated_Properties.md
515-
[07]: xref:Microsoft.PowerShell.Core.Invoke-Command
516-
[08]: /windows/desktop/CIMWin32Prov/win32-process
517-
[09]: #example-8-find-the-owner-of-a-process
518-
[10]: xref:CimCmdlets.Get-CimInstance
519-
[11]: /dotnet/api/system.diagnostics.process#properties
520-
[12]: /dotnet/api/system.diagnostics.process#methods
521-
[13]: xref:Microsoft.PowerShell.Management.Debug-Process
522-
[14]: xref:Microsoft.PowerShell.Management.Get-Process
523-
[15]: xref:Microsoft.PowerShell.Management.Start-Process
524-
[16]: xref:Microsoft.PowerShell.Management.Stop-Process
525-
[17]: xref:Microsoft.PowerShell.Management.Wait-Process
507+
- [Debug-Process](xref:Microsoft.PowerShell.Management.Debug-Process)
508+
- [Get-Process](xref:Microsoft.PowerShell.Management.Get-Process)
509+
- [Start-Process](xref:Microsoft.PowerShell.Management.Start-Process)
510+
- [Stop-Process](xref:Microsoft.PowerShell.Management.Stop-Process)
511+
- [Wait-Process](xref:Microsoft.PowerShell.Management.Wait-Process)

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

Lines changed: 27 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ information returned by this cmdlet.
7070
> [!NOTE]
7171
> A module is an executable file or a dynamic link library (DLL) loaded into a process. A process
7272
> has one or more modules. The main module is the module used to initially start the process. For
73-
> more information, see [ProcessModule Class][01].
73+
> more information, see [ProcessModule Class](/dotnet/api/system.diagnostics.processmodule).
7474
7575
## EXAMPLES
7676

@@ -81,7 +81,7 @@ Get-Process
8181
```
8282

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

8686
To see all properties of a **Process** object, use `Get-Process | Get-Member`. By default,
8787
PowerShell displays certain property values using units such as kilobytes (K) and megabytes (M). The
@@ -112,9 +112,10 @@ The first pipeline gets all processes that have a working set greater than 20 MB
112112
**Process** object to the `Where-Object` cmdlet, which selects only objects with a **WorkingSet**
113113
value greater than `20000000` bytes.
114114

115-
The second pipeline uses a [comparison statement][03] and the `MB` [numeric literal suffix][04] as a
116-
concise alternative to the first pipeline. In PowerShell, `MB` represents a mebibyte (MiB)
117-
multiplier. `20MB` is equal to `20971520` bytes.
115+
The second pipeline uses a
116+
[comparison statement](xref:Microsoft.PowerShell.Core.Where-Object#description) and the `MB`
117+
[numeric literal suffix](about_Numeric_Literals.md) as a concise alternative to the first pipeline.
118+
In PowerShell, `MB` represents a mebibyte (MiB) multiplier. `20MB` is equal to `20971520` bytes.
118119

119120
### Example 4: Display processes on the computer in groups based on priority
120121

@@ -123,8 +124,9 @@ $processes = Get-Process
123124
$processes | Sort-Object { $_.PriorityClass } | Format-Table -View Priority
124125
```
125126

126-
These commands display processes on the computer in groups based on their [priority class][05]. The
127-
first command gets all processes on the computer and stores them in the `$processes` variable.
127+
These commands display processes on the computer in groups based on their
128+
[priority class](/dotnet/api/system.diagnostics.processpriorityclass). The first command gets all
129+
processes on the computer and stores them in the `$processes` variable.
128130

129131
The second command pipes the **Process** objects stored in the `$processes` variable to the
130132
`Sort-Object` cmdlet, then to the `Format-Table` cmdlet, which formats the processes using the
@@ -155,8 +157,8 @@ NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName StartTime
155157

156158
This example retrieves processes from the local computer and pipes each **Process** object to the
157159
`Format-Table` cmdlet. `Format-Table` recreates the default output display of a **Process** object
158-
using a mixture of property names and [calculated properties][06]. The display includes an
159-
additional **StartTime** property not present in the default display.
160+
using a mixture of property names and [calculated properties](about_Calculated_Properties.md). The
161+
display includes an additional **StartTime** property not present in the default display.
160162

161163
### Example 6: Get version information for a process
162164

@@ -430,16 +432,18 @@ On computers running 64-bit Windows, the 64-bit version of PowerShell gets the m
430432
> [!WARNING]
431433
> When you use `Get-Process` to get a 64-bit process in the 32-bit version of PowerShell, properties
432434
> such as `Path` and `MainModule` of the returned **Process** object are `$null`. You must use
433-
> either the 64-bit version of PowerShell or the [Win32_Process][08] class.
435+
> either the 64-bit version of PowerShell or the
436+
> [Win32_Process](/windows/desktop/CIMWin32Prov/win32-process) class.
434437

435438
To get process information from a remote computer, use the `Invoke-Command` cmdlet. For more
436-
information, see [Invoke-Command][07].
439+
information, see [Invoke-Command](xref:Microsoft.PowerShell.Core.Invoke-Command).
437440

438-
On Windows, you can use the Windows Management Instrumentation (WMI) [Win32_Process][08] class in
439-
PowerShell as an alternative to `Get-Process`. For more information, see:
441+
On Windows, you can use the Windows Management Instrumentation (WMI)
442+
[Win32_Process](/windows/desktop/CIMWin32Prov/win32-process) class in PowerShell as an alternative
443+
to `Get-Process`. For more information, see:
440444

441-
- [Example 8: Find the owner of a process][09]
442-
- [Get-CimInstance][10]
445+
- [Example 8: Find the owner of a process](#example-8-find-the-owner-of-a-process)
446+
- [Get-CimInstance](xref:CimCmdlets.Get-CimInstance)
443447

444448
The default display of a **Process** object is a table view that includes the following columns.
445449

@@ -455,32 +459,14 @@ The default display of a **Process** object is a table view that includes the fo
455459
You can use the built-in alternate views for **Process** objects available with `Format-Table`, such
456460
as **StartTime** and **Priority**. You can also design your own views.
457461

458-
For a description of all available **Process** object members, see [Process Properties][11] and
459-
[Process Methods][12].
462+
For a description of all available **Process** object members, see
463+
[Process Properties](/dotnet/api/system.diagnostics.process#properties) and
464+
[Process Methods](/dotnet/api/system.diagnostics.process#methods).
460465

461466
## RELATED LINKS
462467

463-
- [Debug-Process][13]
464-
- [Get-Process][14]
465-
- [Start-Process][15]
466-
- [Stop-Process][16]
467-
- [Wait-Process][17]
468-
469-
<!-- link references -->
470-
[01]: /dotnet/api/system.diagnostics.processmodule
471-
[02]: #notes
472-
[03]: xref:Microsoft.PowerShell.Core.Where-Object#description
473-
[04]: about_Numeric_Literals.md
474-
[05]: /dotnet/api/system.diagnostics.processpriorityclass
475-
[06]: about_Calculated_Properties.md
476-
[07]: xref:Microsoft.PowerShell.Core.Invoke-Command
477-
[08]: /windows/desktop/CIMWin32Prov/win32-process
478-
[09]: #example-8-find-the-owner-of-a-process
479-
[10]: xref:CimCmdlets.Get-CimInstance
480-
[11]: /dotnet/api/system.diagnostics.process#properties
481-
[12]: /dotnet/api/system.diagnostics.process#methods
482-
[13]: xref:Microsoft.PowerShell.Management.Debug-Process
483-
[14]: xref:Microsoft.PowerShell.Management.Get-Process
484-
[15]: xref:Microsoft.PowerShell.Management.Start-Process
485-
[16]: xref:Microsoft.PowerShell.Management.Stop-Process
486-
[17]: xref:Microsoft.PowerShell.Management.Wait-Process
468+
- [Debug-Process](xref:Microsoft.PowerShell.Management.Debug-Process)
469+
- [Get-Process](xref:Microsoft.PowerShell.Management.Get-Process)
470+
- [Start-Process](xref:Microsoft.PowerShell.Management.Start-Process)
471+
- [Stop-Process](xref:Microsoft.PowerShell.Management.Stop-Process)
472+
- [Wait-Process](xref:Microsoft.PowerShell.Management.Wait-Process)

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

Lines changed: 27 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ information returned by this cmdlet.
7070
> [!NOTE]
7171
> A module is an executable file or a dynamic link library (DLL) loaded into a process. A process
7272
> has one or more modules. The main module is the module used to initially start the process. For
73-
> more information, see [ProcessModule Class][01].
73+
> more information, see [ProcessModule Class](/dotnet/api/system.diagnostics.processmodule).
7474
7575
## EXAMPLES
7676

@@ -81,7 +81,7 @@ Get-Process
8181
```
8282

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

8686
To see all properties of a **Process** object, use `Get-Process | Get-Member`. By default,
8787
PowerShell displays certain property values using units such as kilobytes (K) and megabytes (M). The
@@ -112,9 +112,10 @@ The first pipeline gets all processes that have a working set greater than 20 MB
112112
**Process** object to the `Where-Object` cmdlet, which selects only objects with a **WorkingSet**
113113
value greater than `20000000` bytes.
114114

115-
The second pipeline uses a [comparison statement][03] and the `MB` [numeric literal suffix][04] as a
116-
concise alternative to the first pipeline. In PowerShell, `MB` represents a mebibyte (MiB)
117-
multiplier. `20MB` is equal to `20971520` bytes.
115+
The second pipeline uses a
116+
[comparison statement](xref:Microsoft.PowerShell.Core.Where-Object#description) and the `MB`
117+
[numeric literal suffix](about_Numeric_Literals.md) as a concise alternative to the first pipeline.
118+
In PowerShell, `MB` represents a mebibyte (MiB) multiplier. `20MB` is equal to `20971520` bytes.
118119

119120
### Example 4: Display processes on the computer in groups based on priority
120121

@@ -123,8 +124,9 @@ $processes = Get-Process
123124
$processes | Sort-Object { $_.PriorityClass } | Format-Table -View Priority
124125
```
125126

126-
These commands display processes on the computer in groups based on their [priority class][05]. The
127-
first command gets all processes on the computer and stores them in the `$processes` variable.
127+
These commands display processes on the computer in groups based on their
128+
[priority class](/dotnet/api/system.diagnostics.processpriorityclass). The first command gets all
129+
processes on the computer and stores them in the `$processes` variable.
128130

129131
The second command pipes the **Process** objects stored in the `$processes` variable to the
130132
`Sort-Object` cmdlet, then to the `Format-Table` cmdlet, which formats the processes using the
@@ -155,8 +157,8 @@ NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName StartTime
155157

156158
This example retrieves processes from the local computer and pipes each **Process** object to the
157159
`Format-Table` cmdlet. `Format-Table` recreates the default output display of a **Process** object
158-
using a mixture of property names and [calculated properties][06]. The display includes an
159-
additional **StartTime** property not present in the default display.
160+
using a mixture of property names and [calculated properties](about_Calculated_Properties.md). The
161+
display includes an additional **StartTime** property not present in the default display.
160162

161163
### Example 6: Get version information for a process
162164

@@ -430,16 +432,18 @@ On computers running 64-bit Windows, the 64-bit version of PowerShell gets the m
430432
> [!WARNING]
431433
> When you use `Get-Process` to get a 64-bit process in the 32-bit version of PowerShell, properties
432434
> such as `Path` and `MainModule` of the returned **Process** object are `$null`. You must use
433-
> either the 64-bit version of PowerShell or the [Win32_Process][08] class.
435+
> either the 64-bit version of PowerShell or the
436+
> [Win32_Process](/windows/desktop/CIMWin32Prov/win32-process) class.
434437

435438
To get process information from a remote computer, use the `Invoke-Command` cmdlet. For more
436-
information, see [Invoke-Command][07].
439+
information, see [Invoke-Command](xref:Microsoft.PowerShell.Core.Invoke-Command).
437440

438-
On Windows, you can use the Windows Management Instrumentation (WMI) [Win32_Process][08] class in
439-
PowerShell as an alternative to `Get-Process`. For more information, see:
441+
On Windows, you can use the Windows Management Instrumentation (WMI)
442+
[Win32_Process](/windows/desktop/CIMWin32Prov/win32-process) class in PowerShell as an alternative
443+
to `Get-Process`. For more information, see:
440444

441-
- [Example 8: Find the owner of a process][09]
442-
- [Get-CimInstance][10]
445+
- [Example 8: Find the owner of a process](#example-8-find-the-owner-of-a-process)
446+
- [Get-CimInstance](xref:CimCmdlets.Get-CimInstance)
443447

444448
The default display of a **Process** object is a table view that includes the following columns.
445449

@@ -455,32 +459,14 @@ The default display of a **Process** object is a table view that includes the fo
455459
You can use the built-in alternate views for **Process** objects available with `Format-Table`, such
456460
as **StartTime** and **Priority**. You can also design your own views.
457461

458-
For a description of all available **Process** object members, see [Process Properties][11] and
459-
[Process Methods][12].
462+
For a description of all available **Process** object members, see
463+
[Process Properties](/dotnet/api/system.diagnostics.process#properties) and
464+
[Process Methods](/dotnet/api/system.diagnostics.process#methods).
460465

461466
## RELATED LINKS
462467

463-
- [Debug-Process][13]
464-
- [Get-Process][14]
465-
- [Start-Process][15]
466-
- [Stop-Process][16]
467-
- [Wait-Process][17]
468-
469-
<!-- link references -->
470-
[01]: /dotnet/api/system.diagnostics.processmodule
471-
[02]: #notes
472-
[03]: xref:Microsoft.PowerShell.Core.Where-Object#description
473-
[04]: about_Numeric_Literals.md
474-
[05]: /dotnet/api/system.diagnostics.processpriorityclass
475-
[06]: about_Calculated_Properties.md
476-
[07]: xref:Microsoft.PowerShell.Core.Invoke-Command
477-
[08]: /windows/desktop/CIMWin32Prov/win32-process
478-
[09]: #example-8-find-the-owner-of-a-process
479-
[10]: xref:CimCmdlets.Get-CimInstance
480-
[11]: /dotnet/api/system.diagnostics.process#properties
481-
[12]: /dotnet/api/system.diagnostics.process#methods
482-
[13]: xref:Microsoft.PowerShell.Management.Debug-Process
483-
[14]: xref:Microsoft.PowerShell.Management.Get-Process
484-
[15]: xref:Microsoft.PowerShell.Management.Start-Process
485-
[16]: xref:Microsoft.PowerShell.Management.Stop-Process
486-
[17]: xref:Microsoft.PowerShell.Management.Wait-Process
468+
- [Debug-Process](xref:Microsoft.PowerShell.Management.Debug-Process)
469+
- [Get-Process](xref:Microsoft.PowerShell.Management.Get-Process)
470+
- [Start-Process](xref:Microsoft.PowerShell.Management.Start-Process)
471+
- [Stop-Process](xref:Microsoft.PowerShell.Management.Stop-Process)
472+
- [Wait-Process](xref:Microsoft.PowerShell.Management.Wait-Process)

0 commit comments

Comments
 (0)