Minimize Command Windows Upd -
Modern Windows Terminal handles tabs. If you minimize the Terminal window, all tabs (whether they are PowerShell, Ubuntu/WSL, or CMD) are hidden. To minimize a specific tab only, you currently have to detach it into its own window first (often by right-clicking the tab and selecting "Move to new window") and then minimizing that new window.
For advanced users writing batch files or PowerShell scripts, you may want the window to minimize itself automatically while a task runs. This is useful for login scripts or automated maintenance tasks. minimize command windows