| Command | Purpose |
|---|---|
| Get-Process | List running processes |
| Get-Service | View service status |
| Get-EventLog -LogName System | Read system event logs |
| Get-Command | List available cmdlets |
| Get-Help Get-Process | View help for a specific command |
| Command | Purpose |
|---|---|
| Get-ChildItem | List files and folders |
| Copy-Item | Copy files or folders |
| Remove-Item | Delete files or folders |
| Set-ExecutionPolicy RemoteSigned | Allow script execution |
| Test-Connection | Ping a host (like ping) |
| Syntax | Purpose |
|---|---|
| $name = "Huffle" | Define a variable |
| if ($name -eq "Huffle") { } | Conditional logic |
| foreach ($item in $list) { } | Loop through items |
| Function Get-Overlay { } | Create a custom function |
| Write-Output "Hello World" | Print to console |