"If you've ever wanted to remotely restart a service on your
Windows PC from your Linux machine, the Command-Line fu web site
has you covered with the quick and easy command to use.
"In order to actually use this command, you'll need to make sure
that you have the samba-common package installed for Ubuntu, or the
corresponding package for your Linux distribution. The simple sudo
apt-get install samba-common command will do it for any
"Now you can list the services available on a Windows machine by
using the following command, making sure to use credentials that
have administrative privileges on the remote machine:"
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.