Windows Power User Cheat Sheet: Hidden Commands That Actually Make Life Easier

Windows Power User Cheat Sheet: Hidden Commands That Actually Make Life Easier

You don’t need to be a sysadmin to use the Windows command line β€” but knowing a few powerful commands can completely change the way you work. Whether you're automating tasks, fixing stubborn issues, or just want to feel more in control of your machine, this cheat sheet covers practical, time-saving commands using both PowerShell and Command Prompt. No registry hacks, no fluff β€” just stuff that works.

πŸ“ SYSTEM & FILES
─────────────────────────────────────────────
explorer .                     # Open current folder in Explorer
start notepad.exe              # Launch Notepad
cd ..                          # Move up one folder
dir                            # List directory contents
copy file.txt D:\Backup\       # Copy file
move *.jpg D:\Images\          # Move files
del /q *.log                   # Delete .log files silently

πŸ” SEARCH & INFO
─────────────────────────────────────────────
findstr /s /i "error" *.log    # Search text in files
where python                   # Find path of a program
get-command                    # List PowerShell commands
get-help restart-computer      # Help for a command
systeminfo                     # Full system details

πŸ§ͺ HIDDEN GEMS (Underrated)
─────────────────────────────────────────────
cleanmgr /sageset:1            # Advanced disk cleanup setup
sfc /scannow                   # Scan & repair system files
choco install git              # Install via Chocolatey (if available)
Get-Clipboard                  # Show clipboard contents (PowerShell)
clip < file.txt                # Copy file contents to clipboard
shutdown /s /t 0               # Shutdown instantly

🌐 NETWORK
─────────────────────────────────────────────
ipconfig /all                  # Full IP configuration
ping google.com                # Check connectivity
netstat -ano                   # List all active ports
taskkill /PID 1234 /F          # Kill process by PID
get-netadapter                 # View network adapters

πŸ“¦ PACKAGE MGMT & TOOLS
─────────────────────────────────────────────
winget install vscode          # Install apps via Winget
choco list -lo                 # List installed Chocolatey packages
get-process | sort cpu -desc   # Top processes by CPU

πŸ“œ ALIASES (PowerShell profile)
─────────────────────────────────────────────
Set-Alias ll Get-ChildItem
Set-Alias gs git status
Function restart-explorer {Stop-Process -Name explorer -Force; Start explorer}