Command Line
PowerShell Basics for Beginners
Open PowerShell, discover commands, and work with objects safely.
Follow the steps in order and stop if the screen or target does not match what is described. Use administrator access only when the task requires it.
Open PowerShell
Open Start, type PowerShell or Terminal, and open a normal non-administrator session.
Discover commands
Search command names with Get-Command.
Command
Get-Command *printer*Read help
Use Get-Help before changing a system.
Command
Get-Help Get-Process -ExamplesInspect location and files
Use Get-Location and Get-ChildItem.
Command
Get-Location
Get-ChildItemInspect processes
Get-Process returns structured objects that can be sorted and filtered.
Command
Get-Process | Sort-Object CPU -Descending | Select-Object -First 10Close without changes
Run exit or close the window.
Command
exit