Start services remotelly


$Service_name = “RemoteRegistry”
$computer = Get-Content C:\Users\lvbgsmc\Desktop\Servers.txt

Get-Service -ComputerName $computer -Name $Service_name | Start-Service

Advertisements
%d bloggers like this: