PowerShell is a powerful command-line shell and scripting language built on .NET. Itβs used by system administrators and power users to automate administrative tasks, manage system configurations, and perform advanced system management on Windows, Linux, and macOS.
Unlike older shells like Command Prompt, PowerShell works with objects instead of just plain text, making it insanely versatile for modern system tasks and automation.
pwsh
on Linux/macOS if installed.
Get-Process
This command lists all the currently running processes on your system.