Programs
Programs: What's Running: `Get-Process` and `Stop-Process`, Starting Programs: `Start-Process`.
Updated
- What's Running: `Get-Process` and `Stop-Process` (Apprentice): Every running program is a process with a number, its Id: Get-Process lists them with their memory (WS) and processor time (CPU), Sort-Object puts the busiest first, CommandLine tells two PowerShells apart, and Stop-Process -Id stops one, after a rehearsal with -WhatIf.
- Starting Programs: `Start-Process` (Journeyman): Start-Process opens a file or folder in the app a double-click would use, starts a program with arguments in its own window or none, hands back its process with -PassThru, waits for it with -Wait or Wait-Process so you can read its ExitCode, and asks Windows for administrator rights with -Verb RunAs.