get-process
returns objects whose type is System.Diagnostics.Process
. Kill()
method, for example because the process in question is hanging: PS:\> (get-process excel).kill()
get-process
and where-object
in a pipeline, it's possible to select processes by criterias applied on their properties: get-process | where-object name -match app
pm
) is greater than 250 mega bytes: get-process | where-object pm -gt 250mb
-id
option allows to select a process by its process identifier. get-process -id $PID | select-object startTime, totalProcessorTime, userProcessorTime, virtualMemorySize, workingSet
get-counter
to find processor intensive processes. get-process
is one of the cmdLets with the -computerName
parameter.