PowerShell Lab
Build, find and save PowerShell
Reviewed templates and commands with requirements, permissions and risk spelled out. Nothing here runs anything — you copy, review and run it yourself.
Search pages, tools, PowerShell commands and ports
Stop every process with a given name.
1Get-Process -Name 'OUTLOOK' -ErrorAction SilentlyContinue | Stop-Process -ForceUnsaved data in that application is lost. On RDS servers this kills the process for every user — filter by session: Where-Object SessionId -eq 3.