title: Set Remote Service's Recovery Options using Powershell?
body: <p>I am have a really hard time getting this to work. Hopefully someone can help me out!</p>
  
  <p>I am currently working on a Powershell deployment script for a service. After installing the service, I'd like to set the Service Recovery options to "Restart the Service" every time the service crashes after 0 minutes.</p>
  
  <p>Does anyone know how to do this using Powershell to set these options for remote machine?</p>