Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI Reference

WindowsUtilitiesMenu.bat forwards all arguments directly to scripts\menu.ps1 running on PowerShell 7.x (pwsh.exe). When any CLI flag is supplied, the interactive menu is skipped.

Flags

FlagDescription
(none)Launches the compact interactive PowerShell 7 TUI menu (supports / live search).
--help, -h, /?Displays CLI usage and examples (exit 0).
--list, -lPrints all 9 modules, 67 action IDs, and ADMIN tags (exit 0).
--search <query>, -s, --findSearches all modules and tools by keyword, module name, or action ID (exit 0).
--run <action-id>, -rExecutes the specified action directly without displaying the menu. Exits 2 on unknown IDs.
--dry-run, --what-ifSimulates execution across all 67 actions (WUM_DRY_RUN=1) with zero system changes.
--no-pauseSuppresses trailing pause / timeout prompts in supported scripts (WUM_NO_PAUSE=1).
--log [path]Enables optional diagnostic logging (default: logs\windows-utilities-menu-YYYY-MM-DD.log, 30-day retention).

Action IDs (9 Modules · 67 Native Tools)

ModuleAction IDs
1. System Repairdism-repair, sfc-scan, full-repair, dism-cleanup, wu-status, wu-reset, chkdsk-scan
2. Shell, UI & Audiorestart-explorer, restart-start-menu, restart-shell-all, refresh-icon-cache, kill-frozen-tasks, restart-audio, restart-search
3. Network & NetOpsflush-dns, net-info, net-ports, net-ping-test, net-renew-ip, net-reset-stack, wifi-profiles, hosts-open
4. Storage & Cleanupdisk-health, clear-temp, clear-clipboard, empty-recycle-bin, disk-cleanup, storage-sense, trim-drives, reset-print-spooler
5. System Diagnosticssys-overview, top-processes, event-errors, startup-apps, driver-audit, reliability-monitor, directx-diag, sys-info-gui
6. Security & Defenderdefender-status, defender-update, defender-quick-scan, firewall-status, tpm-bitlocker, local-accounts, security-center
7. Quick Admin Toolsterminal-admin, task-manager, resource-monitor, services, event-viewer, device-manager, disk-mgmt, task-scheduler, registry-editor
8. Power & Bootrestart-gpu-driver, power-plans, battery-report, sleep-study, energy-report, hibernation-toggle, toggle-safe-mode, reboot-uefi
9. WinGet Maintenancewinget-list-upgrades, winget-upgrade-all, winget-source-update, winget-export, winget-info