Can some help me to modify a powershell script to change STARTUP Type for some of services from AUTOMATIC to MANUAL ?
This script is for starting service. I need the same script to modify Startup Type.
$serverList = gc servers.txt
$serviceList = gc services.txt
ForEach ($server in $serverList)
ForEach ($service in $serviceList)
Get-Service -Name $service -ComputerName $server | Start-service