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 ...
Get Enterprise PowerShell Scripting Bootcamp now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.