Power Shell and Process

Get-Process

Get-Process winword, explorer | Format-List *

Get-Process | Where-Object {$_.WorkingSet -gt 20000000}

$A = Get-Process

$A | Get-Process | Format-Table -View priority

Get-Process pwsh -FileVersionInfo (did not work)

Get-Process SQL* -Module

Ref: Internet

Stop-Process -Name “notepad”

Stop-Process -Id 3952 -Confirm –PassThru

calc $p = Get-Process -Name “calc”

Stop-Process -InputObject $p

Get-Process | Where-Object {$_.HasExited}

Get-Process -Name “lsass” | Stop-Process