Opening PowerShell
What PowerShell is
PowerShell is a shell and scripting language built around .NET objects—not only plain text. You pipe rich objects between commands.
Open a session
- Windows: Start menu → Windows PowerShell or Terminal → PowerShell profile
- Run as your normal user for learning; elevate only when a task requires admin
- PowerShell 7+ (pwsh) also runs on macOS and Linux
Check the version
Confirm which edition you are using.
$PSVersionTable.PSVersion
First commands
Print a message and see where you are.
Write-Output "Hello from PowerShell"
Get-Location
Comments
One comment per signed-in account. Comments are saved with this page’s URL.