title: Stopping Avecto Defendpoint programmatically
body: <p>Before anyone says anything about access rights...
  I have full access to services and can manually stop both the Avecto Defendpoint Service and the Avecto Defendpoint ePO Interface. And, all users who will be using this application will also have admin rights. </p>
  
  <p>Im trying to find a way to stop the Avecto Defendpoint service through PowerShell. I've tried...</p>
  
  <p>Right-click on PowerShell (Run as admin)</p>
  
  <pre><code>Stop-Service -Name "Avecto Defendpoint Service"
  </code></pre>
  
  <p>With this as a response...</p>
  
  <pre><code>Stop-Service : Service 'Avecto Defendpoint Service (Avecto Defendpoint
  Service)' cannot be stopped due to the following error: Cannot open Avecto
  Defendpoint Service service on computer '.'.
  </code></pre>
  
  <p>I've also tried using the -Force parameter with the same result. If I manually disable Avecto prior to running the PowerShell I can manually start the service back up again and THEN I can kill it as intended from the PowerShell; but this defeats the purpose of embedding the functionality into the program.</p>
  
  <p>Any thoughts or suggestions?</p>