When I execute any batch command then it is prompting a command window for 1 second till the command executes with the below command. $CMD = "net localgroup administrators domainaname\usename /add" RunWait(@ComSpec & " /q /c " & $CMD) Is there any way to exeute the command without showing the window.