Starting/Stopping a service on a remote server

windows-server-2003

I am looking for a method of starting/stopping a service on a remote Windows 2003 Server.
Locally I know that the net command works, but is there a way to do this over the network?

EDIT: Looking to be able to do this in a script, external GUI tools won't work unless they have a command line tool.

Best Answer

Use the "sc.exe" command from the Windows Server Resource Kit.

An example, to configure a the IIS service to Autostart and then to start it:

sc \\server1 config w3svc start= auto
sc \\server1 start w3svc