title: Check if a Windows service exists and delete in PowerShell
body: <p>I am currently writing a deployment script that installs a number of Windows services.</p>
  
  <p>The services names are versioned, so I want to delete the prior Windows service version as part of the installs of the new service.</p>
  
  <p>How can I best do this in PowerShell?</p>