Get-ProcessList running processes
Stop-Process -Id 1234Kill process by ID
Get-ServiceList all services
Start-Service serviceNameStart service
Stop-Service serviceNameStop service
Restart-Service serviceNameRestart service
Get-ChildItemList directory contents (ls)
Set-Location pathChange directory (cd)
New-Item -Path file.txt -ItemType FileCreate file
Remove-Item file.txtDelete file (rm)
Copy-Item src destCopy file/directory
Move-Item src destMove file/directory
Get-Content file.txtRead file content (cat)
Set-Content file.txt 'text'Write to file
Add-Content file.txt 'text'Append to file
Select-String pattern file.txtSearch in file (grep)
Get-Command Get-ProcessShow command info
Get-Help Get-ProcessShow help
Get-MemberShow object properties
Where-Object { $_.Name -like '*foo*' }Filter objects (where)
Select-Object -First 10Select first N objects
ForEach-Object { $_.Name }Loop through objects (foreach)
Sort-Object NameSort by property
Group-Object PropertyGroup by property
Measure-ObjectCount objects
$env:PATHAccess environment variable
$env:PATH = 'value'Set environment variable
Get-VariableList variables
Test-Path pathCheck if path exists
New-PSDriveCreate PSDrive
Invoke-WebRequest urlHTTP request (curl)