Check service startup type and status with Powershell
A powershell code to check a specific service on a computer and tells you what the startup-type is (Auto, disabled, manual) and what the current state is of the service.
$strComputer = read-host "Computername"
$strService = read-host "Servicename"
$svc = (get-wmiobject -class win32_service -filter "name='$strService'" -computername $strComputer)
Write-Host "On computer $strComputer the service: $StrService Startup Type is" $svc.startmode "and is" $svc.state