Files, pipelines, processes and services — the PowerShell cmdlets you'll use most. Tap to copy.
Get-ChildItemList items in a folder (alias: ls, dir)Set-Location <path>Change directory (alias: cd)New-Item -ItemType Directory <name>Create a new folderCopy-Item <src> <dst>Copy a file or folderMove-Item <src> <dst>Move or rename an itemRemove-Item <path>Delete a file or folderGet-Content <file>Print a file's contents (alias: cat)Select-String "text" <file>Search for text in files (like grep)Get-ChildItem -Recurse -Filter *.logFind files recursively by patternGet-Process | Where-Object CPU -gt 100Filter objects in a pipelineGet-ChildItem | Sort-Object Length -DescendingSort pipeline outputGet-ProcessList running processes (alias: ps)Stop-Process -Name <name>Stop a process by nameGet-ServiceList Windows servicesStart-Service <name>Start a serviceRestart-Service <name>Restart a serviceGet-Help <command>Show help for a commandGet-Command *item*Find commands by name$PSVersionTableShow the PowerShell versionSet-ExecutionPolicy RemoteSignedAllow local scripts to runPowerShell uses Verb-Noun cmdlets like Get-ChildItem and Stop-Process, many with familiar aliases (ls, cd, cat). Its real power is the pipeline — pass objects into Where-Object and Sort-Object to filter and order results. Use Get-Help on any command for examples.