What\'s the easiest programmatic way to restart a service on a remote Windows system? Language or method doesn\'t matter as long as it doesn\'t require human interaction.
I believe PowerShell now trumps the "sc" command in terms of simplicity:
Restart-Service "servicename"