“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
Debian-based Linux.“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:”
Restart Windows Services from Your Linux PC
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis