The GoTo Community is currently experiencing some technical issues affecting new posts and comments. We are actively working with our service provider and apologize for the frustration.
Forum Discussion
CS_HelpDesk
3 years agoGoTo Contributor
Remote Execution - PowerShell Script Repository
Welcome to the Remote Execution - Powershell Script Repository!
What is it? A library of scripts to help you execute automated tasks and manage your Central computers without having to access t...
CS_HelpDesk
3 years agoGoTo Contributor
Stopping a service PowerShell script.
---
$service = $null
$s = Get-Service $service
if ($s.Status -eq 'running')
{
Stop-Service -InputObject $s -PassThru
}