Archive

Archive for April, 2015

Quick Post: Restart a service on a remote computer using PowerShell

April 30, 2015 Leave a comment

Get-Service -Name w32time -ComputerName Server1 | Set-Service -Status Stopped
Get-Service -Name w32time -ComputerName Server1 | Set-Service -Status Running

Advertisements
Categories: Computers Tags:
%d bloggers like this: