I am trying to use psexec to from within a batch file to run an iisreset on another machine. the batch file is local and needs to run c:\program files\psexec.exe -u username -p password \\remotemachine c:\iisreset.bat
where do i need to have psexec stored for this to work? what do i need to do for this to work. essentially, i want to do an issreset of a remote box from an end user machine where the end user is not (and CANNOT) be an administrator on the box hosting iis. I want them to be able to click the .bat on their machine that will pass credentials to the .bat on the remote machine
Start Free Trial