PowerShell
Windows automation and scripting. Manage systems, files, processes, and cloud resources with PowerShell cmdlets.
94 commands
Browse by Topic
Getting Started
Quick setup and installation
Files
File operations
Processes
Process management
System
System information
Network
Network operations
Objects
Object manipulation
Pipeline
Pipeline operations
Modules
Module management
Remoting
Remote sessions
Install PowerShell (macOS)
Install PowerShell using Homebrew on macOS
Check PowerShell version
Verify PowerShell is installed and display the current version
Launch PowerShell
Start an interactive PowerShell session
List files recursively
List all files and folders recursively.
Copy files
Copy files or directories.
Move files
Move files or directories.
Remove files
Delete files or directories.
Create directory
Create a new folder.
Read file content
Read file contents.
Write to file
Write content to file.
Append to file
Append content to existing file.
Check path exists
Check if file or folder exists.
Find files by pattern
Find files matching pattern.
Get file hash
Calculate file checksum.
Rename file
Rename a file or folder.
List processes
List all running processes.
Kill process by name
Stop process by name.
Kill process by ID
Stop process by PID.
Start process
Start a new process.
Start as admin
Start process with elevation.
Top CPU processes
Show top CPU-consuming processes.
Top memory processes
Show top memory-consuming processes.
Wait for process
Wait for process to exit.
Get system info
Display detailed system information.
Get OS version
Display OS version.
Check execution policy
Show current execution policy.
Set execution policy
Set script execution policy.
Get services
List all Windows services.
Start service
Start a Windows service.
Stop service
Stop a Windows service.
Restart service
Restart a Windows service.
Get environment variable
Get environment variable value.
Set environment variable
Set environment variable.
Get event logs
View recent system events.
Get disk space
Show disk space usage.
Test connection
Test network connection to host:port.
Get IP addresses
List all IP addresses.
DNS lookup
Resolve DNS name.
HTTP request
Make HTTP request.
REST API call
Call REST API (auto-parses JSON).
Download file
Download file from URL.
Get network adapters
List network adapters.
Get TCP connections
Show established TCP connections.
Create hashtable
Create a hashtable.
Access hashtable
Get value from hashtable.
Add to hashtable
Add key-value to hashtable.
Create custom object
Create custom object from hashtable.
Splatting
Pass parameters via hashtable.
Get object members
View properties and methods of object.
Access property
Access object property.
Call method
Call method on object.
Create array
Create array of values.
Add to array
Append to array.
JSON to object
Parse JSON to PowerShell object.
Object to JSON
Convert object to JSON string.
List installed modules
Show all installed modules.
Get loaded modules
Show currently loaded modules.
Find module
Search PowerShell Gallery.
Install module
Install module from Gallery.
Update module
Update installed module.
Uninstall module
Remove installed module.
Import module
Load module into session.
Remove module
Unload module from session.
Get module commands
List commands in module.
Install PSResourceGet
Install new package manager.
Enable remoting
Enable PowerShell remoting.
Enter remote session
Start interactive remote session.
Exit remote session
End interactive remote session.
Run remote command
Execute command on remote computer.
Run on multiple computers
Run command on multiple hosts.
Create persistent session
Create reusable remote session.
Use persistent session
Run command in existing session.
Close session
Close remote session.
Copy to remote
Copy file to remote computer.
Copy from remote
Copy file from remote computer.
Remote with credentials
Connect with alternate credentials.
SSH remoting
Connect via SSH (PS 7+).
Parallel execution
Run in parallel with throttle.
Discussion
Loading comments...