Advertisement
hl2guide

Stop Windows Services - PowerShell

Jul 30th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Stops a list of Windows Services
  2. $services = @('acCAMService', 'AcrSch2Svc', 'afcdpsrv', 'Everything',
  3. 'gadjservice', 'IOBitUnSvr', 'kss', 'mmsminisrv', 'OODefragAgent',
  4. 'OO DiskImage', 'PlexUpdateService', 'Secunia Update Agent',
  5. 'OpenVPNServiceInteractive', 'Spooler', 'syncagentsrv',
  6. 'TigerService', 'WindscribeService')
  7.  
  8. # Loop through services list
  9. foreach ($service in $services)
  10. {
  11.     Stop-Service $service
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement