100+ Windows CMD Commands
🖥️ System Information (Recon)
wmic os get osarchitecture || echo %PROCESSOR_ARCHITECTURE% #Get architecture
systeminfo
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" #Get only OS info
wmic computersystem LIST full #PC info
wmic qfe get Caption,Description,HotFixID,InstalledOn #Patches
wmic qfe list brief #Updates
hostname #Get hostname
DRIVERQUERY #Drivers (potentially vulnerable)🌍 Environment Variables
💾 Mounted Disks
🛡️ Windows Defender & Recycle Bin
⚙️ Processes, Services & Installed Software
🏢 Active Directory & Domain Enumeration
Domain Info
Users
Groups
Computers & Trusts
📜 Logs & Event Queries
👤 Users & Groups
🌐 Networking & Firewall
📡 Shares & WiFi
📥 File Download via LOLBAS
🔐 Credentials & Passwords
🧨 Misc Exploitation Tricks
Last updated