Tag Archives: script for multiple server

Powershell Script to start/stop/disable service on multiple remote server

Powershell script to control windows service on multiple remote servers. Get-content “Filename” | foreach {set-Service -ComputerName $_ -Name “Service Name” -StartupType Disabled -Status Stopped} Note: Replace Filename with filename location… Read more »