# PowerShell script# Josh Mueller – 2010# Script to check whether the "SMS Agent Host" is running# The script will start the service if it is not running cls $sName = "SMS Agent Host"$service = get-service -display $sName -ErrorAction SilentlyContinue$startService = Start-Service $sname if ($service.Status -eq "Running") { $sName + " is Running" }else {$startService} Filed […]
Trending Articles
More Pages to Explore .....