title: Set-Service: Cannot stop service because it is dependent on other services
body: <p>When I run the following command:</p>
  
  <pre><code>Set-Service -ComputerName appserver -Name MyService -Status Stopped
  </code></pre>
  
  <p>I get an error message:</p>
  
  <pre>Set-Service : Cannot stop service 'My Service (MyService)' because it is
  dependent on other services.
  At line:1 char:12
  + Set-Service &lt;&lt;&lt;&lt;  -ComputerName appserver -Name MyService -Status Stopped
      + CategoryInfo          : InvalidOperation: (System.ServiceProcess.ServiceController:ServiceController) [Set-Service], ServiceCommandException
      + FullyQualifiedErrorId : ServiceIsDependentOnNoForce,Microsoft.PowerShell.Commands.SetServiceCommand</pre>
  
  <p>I can stop the service from the <code>services.msc</code> GUI, and I can <em>start</em> the service with <code>Set-Service</code>, but I can't stop it again.</p>
  
  <p>It is true that the service depends on some other services, but I don't understand why that would prevent me from stopping it&mdash;nothing <em>else</em> depends on <em>it.</em></p>