Managing Windows processes
There may be times in scripting where you need to check if there is a running process on a system. PowerShell offers the get-process
cmdlet to search for available processes on a system. By running the get-process
cmdlet alone, you will get a report of all the running services on the system. The default record set that is returned about running services includes:
Handles
: The number of thread handles that are being used by a particular processNPM (K)
: Non-Paged Memory is the memory that is solely in physical memory, and not allocated to the page file that is being used by a processPM (K)
: Pageable Memory is the memory that is being allocated to the page file that is used by a processWS(K)
: Working Set is the memory recently referenced by the processVM(M)
: Virtual Memory is the amount of virtual memory that is being used by a processCPU(s)
: This is the processor time, or the time the CPU takes to utilize the processID
: This is an assigned unique ID to the...