I need a batch file to install a Window update on a remote machine. I need to have it check if its online, if its not exit out with an error, if its online look for C:\Temp, if its not there create it. Then copy over the file to C:\Temp and run the file using psexec.exe.
The reason why we are doing it this way is because SCCM is not working for us and NO we cannot use other deployment software. I am however allowed to use a batch file or script.