Skip to content

Commit e030f7c

Browse files
Fix process default display column list
VM(M) was removed prior to Windows PowerShell v5.1. Handles was removed in v6.0. See: PowerShell/PowerShell#1812
1 parent 2a19cbf commit e030f7c

4 files changed

Lines changed: 18 additions & 29 deletions

File tree

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 07/03/2023
5+
ms.date: 04/14/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-process?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Get-Process
@@ -473,12 +473,10 @@ of all of the properties of process objects, see
473473
- **PM(K)**: The amount of pageable memory that the process is using, in kilobytes.
474474
- **WS(K)**: The size of the working set of the process, in kilobytes. The working set consists of
475475
the pages of memory that were recently referenced by the process.
476-
- **VM(M)**: The amount of virtual memory that the process is using, in megabytes. Virtual memory
477-
includes storage in the paging files on disk.
478476
- **CPU(s)**: The amount of processor time that the process has used on all processors, in seconds.
479477
- **Id**: The process ID (PID) of the process.
480-
- **ProcessName**: The name of the process. For explanations of the concepts related to processes,
481-
see the Glossary in Help and Support Center and the Help for Task Manager.
478+
- **SI**: The session ID of the process.
479+
- **ProcessName**: The name of the process.
482480

483481
You can also use the built-in alternate views of the processes available with `Format-Table`, such
484482
as **StartTime** and **Priority**, and you can design your own views.

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 07/03/2023
5+
ms.date: 04/14/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-process?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Get-Process
@@ -408,17 +408,14 @@ The default display of a process is a table that includes the following columns.
408408
of all of the properties of process objects, see
409409
[Process Properties](/dotnet/api/system.diagnostics.process).
410410

411-
- **Handles**: The number of handles that the process has opened.
412411
- **NPM(K)**: The amount of non-paged memory that the process is using, in kilobytes.
413-
- **PM(K)**: The amount of pageable memory that the process is using, in kilobytes.
414-
- **WS(K)**: The size of the working set of the process, in kilobytes. The working set consists of
412+
- **PM(M)**: The amount of pageable memory that the process is using, in megabytes.
413+
- **WS(M)**: The size of the working set of the process, in megabytes. The working set consists of
415414
the pages of memory that were recently referenced by the process.
416-
- **VM(M)**: The amount of virtual memory that the process is using, in megabytes. Virtual memory
417-
includes storage in the paging files on disk.
418415
- **CPU(s)**: The amount of processor time that the process has used on all processors, in seconds.
419416
- **Id**: The process ID (PID) of the process.
420-
- **ProcessName**: The name of the process. For explanations of the concepts related to processes,
421-
see the Glossary in Help and Support Center and the Help for Task Manager.
417+
- **SI**: The session ID of the process.
418+
- **ProcessName**: The name of the process.
422419

423420
You can also use the built-in alternate views of the processes available with `Format-Table`, such
424421
as **StartTime** and **Priority**, and you can design your own views.

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 07/03/2023
5+
ms.date: 04/14/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-process?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Get-Process
@@ -409,17 +409,14 @@ The default display of a process is a table that includes the following columns.
409409
of all the properties of process objects, see
410410
[Process Properties](/dotnet/api/system.diagnostics.process).
411411

412-
- **Handles**: The number of handles that the process has opened.
413412
- **NPM(K)**: The amount of non-paged memory that the process is using, in kilobytes.
414-
- **PM(K)**: The amount of pageable memory that the process is using, in kilobytes.
415-
- **WS(K)**: The size of the working set of the process, in kilobytes. The working set consists of
413+
- **PM(M)**: The amount of pageable memory that the process is using, in megabytes.
414+
- **WS(M)**: The size of the working set of the process, in megabytes. The working set consists of
416415
the pages of memory that were recently referenced by the process.
417-
- **VM(M)**: The amount of virtual memory that the process is using, in megabytes. Virtual memory
418-
includes storage in the paging files on disk.
419416
- **CPU(s)**: The amount of processor time that the process has used on all processors, in seconds.
420417
- **Id**: The process ID (PID) of the process.
421-
- **ProcessName**: The name of the process. For explanations of the concepts related to processes,
422-
see the Glossary in Help and Support Center and the Help for Task Manager.
418+
- **SI**: The session ID of the process.
419+
- **ProcessName**: The name of the process.
423420

424421
You can also use the built-in alternate views of the processes available with `Format-Table`, such
425422
as **StartTime** and **Priority**, and you can design your own views.

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 07/03/2023
5+
ms.date: 04/14/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-process?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Get-Process
@@ -409,17 +409,14 @@ The default display of a process is a table that includes the following columns.
409409
of all the properties of process objects, see
410410
[Process Properties](/dotnet/api/system.diagnostics.process).
411411

412-
- **Handles**: The number of handles that the process has opened.
413412
- **NPM(K)**: The amount of non-paged memory that the process is using, in kilobytes.
414-
- **PM(K)**: The amount of pageable memory that the process is using, in kilobytes.
415-
- **WS(K)**: The size of the working set of the process, in kilobytes. The working set consists of
413+
- **PM(M)**: The amount of pageable memory that the process is using, in megabytes.
414+
- **WS(M)**: The size of the working set of the process, in megabytes. The working set consists of
416415
the pages of memory that were recently referenced by the process.
417-
- **VM(M)**: The amount of virtual memory that the process is using, in megabytes. Virtual memory
418-
includes storage in the paging files on disk.
419416
- **CPU(s)**: The amount of processor time that the process has used on all processors, in seconds.
420417
- **Id**: The process ID (PID) of the process.
421-
- **ProcessName**: The name of the process. For explanations of the concepts related to processes,
422-
see the Glossary in Help and Support Center and the Help for Task Manager.
418+
- **SI**: The session ID of the process.
419+
- **ProcessName**: The name of the process.
423420

424421
You can also use the built-in alternate views of the processes available with `Format-Table`, such
425422
as **StartTime** and **Priority**, and you can design your own views.

0 commit comments

Comments
 (0)