starting / stopping service in windows using command line
In Linux, you typically use "service stop xxx" or "/etc/init.d/xxx stop" for this purpose.
Here is the equivalent on windows:
net stop xxx
You can also start a service using:
net start xxx
However, there is no such thing as "net restart". So you have to do it manually by stopping and then starting the service.