I have a build server (Windows Server 2008) set up to pull down code from our SVN repository and build the web applications we develop. My current process involves using WinSCP to perform a remote sync that sends the updated files to our production server after a release build. This is working pretty well but sometimes our changes require that the IIS application pool be recycled so the newest files are server correctly. Since our production server is hosted by another provider I cannot use PsExec or PowerShell to kick the necessary app pool on the production server. Our production server does have a Cisco VPN client available and using that does allow me to run PsExec but I cannot be sure that the client will always be connected.

I am wondering how other people handle this situation and if there are any suggestions other than PsExec over the VPN. I am using Hudson to manage our build process so it's not a big deal to execute anything that can be scripted. Any suggestions are greatly appreciated.

2 Answers 2


WinRM (remote management). It looks like it takes more then a few steps to get it working securely over the Internet using HTTPS but it's designed for HTTP remote management and I've watched videos and read much on the topic of WinRM + PowerShell, etc. I just haven't used it remotely through firewall yet.


updated versions of WinRM and PowerShell for 2008




It turns out a simple solution was to install an SSH server on our production box and open the necessary firewall ports. SSH allows me to access the command shell on the production server in a secure way and execute what I need. I haven't gotten all of the scripting finalized yet but it seems like it will solve the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.