How to script(batch script) multiple commands that will be executed in system context on a list of workstations remotely through PSEXEC.EXE?
Commands for the script are:
***************************************
robocopy \\network_path \\hostname\c$\Temp
psexec -s \\hostname cmd C:\Temp\ccmsetup.exe /uninstall
psexec -s \\hostname cmd rmdir C:\Windows\ccmsetup
psexec -s \\hostname cmd C:\Temp\ccmsetup.exe
EXIT