Run command with hidden consoleJune 25, 2024 · One min readRun command without console / hide console window PowerShell powershell.exe -WindowStyle Hidden -Command "<command>" VBS Create a .vbs file run.vbsCreateObject("WScript.Shell").Exec _("<command>") To run .vbs file: # Without consolewscript.exe run.vbs# With consolecscript.exe run.vbs