Tag Info

New answers tagged


Finally found the answer. it was the simplest one.I had to search many places to automate the connection process !!! try the following command: echo y | vpnclient.exe connect (Type Profile Name here) user (Type User Name here) pwd (Type Pwd here) nocertpwd stdin if this is not working try the entire path for the exe. For example: echo y | "C:\Program ...


The following should satisfy your requirements, although the testing account could still change the printer anyway. Set objSysInfo = CreateObject("ADSystemInfo") strName = objSysInfo.ComputerName arrComputerName = Split(strName, ",") arrOU = Split(arrComputerName(1), "=") strComputerOU = arrOU(1) Set objNetwork = CreateObject("WScript.Network") If ...

Top 50 recent answers are included