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.
Flag Description
(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).
Module Action IDs
1. System Repair dism-repair, sfc-scan, full-repair, dism-cleanup, wu-status, wu-reset, chkdsk-scan
2. Shell, UI & Audio restart-explorer, restart-start-menu, restart-shell-all, refresh-icon-cache, kill-frozen-tasks, restart-audio, restart-search
3. Network & NetOps flush-dns, net-info, net-ports, net-ping-test, net-renew-ip, net-reset-stack, wifi-profiles, hosts-open
4. Storage & Cleanup disk-health, clear-temp, clear-clipboard, empty-recycle-bin, disk-cleanup, storage-sense, trim-drives, reset-print-spooler
5. System Diagnostics sys-overview, top-processes, event-errors, startup-apps, driver-audit, reliability-monitor, directx-diag, sys-info-gui
6. Security & Defender defender-status, defender-update, defender-quick-scan, firewall-status, tpm-bitlocker, local-accounts, security-center
7. Quick Admin Tools terminal-admin, task-manager, resource-monitor, services, event-viewer, device-manager, disk-mgmt, task-scheduler, registry-editor
8. Power & Boot restart-gpu-driver, power-plans, battery-report, sleep-study, energy-report, hibernation-toggle, toggle-safe-mode, reboot-uefi
9. WinGet Maintenance winget-list-upgrades, winget-upgrade-all, winget-source-update, winget-export, winget-info