PowerShell
Windows-native automation. Pair with Windows overview.
Guides
| Guide | Description |
|---|---|
| SSH agent | Load keys on Windows |
| ffmpeg | Video / GIF commands |
| Archives | 7-Zip exclude patterns |
| Media | Broader ffmpeg recipes |
Quality of life
powershell
# PowerShell 7
winget install Microsoft.PowerShell
# useful listing
Get-ChildItem -Force
$PSVersionTable
# go to project quickly (if you set locations)
Set-Location D:\sites\git\apsolut\cliOpen folder in Windows Terminal / VS Code
powershell
wt -d .
code .Kill process on port (dev servers)
powershell
Get-NetTCPConnection -LocalPort 3000 -ErrorAction SilentlyContinue |
Select-Object -ExpandProperty OwningProcess -Unique |
ForEach-Object { Stop-Process -Id $_ -Force }