Hello I want to run script using COM in the background.
Here is my code:
$WshShell = new COM("WScript.Shell");
$obj = $WshShell->Run("cscript C:/Users/Administrator/Desktop/PhotoshopImg/script.vbs", 0, true);
I want to run the script in the background. Its possible?
Thanks you :)