Shut down your windows PC remotely from Linux
Sunday, 10th October 2010 by gkwp
Just a little Windows remote admin nugget …
If you have File/Printer sharing enabled in a windows PC, you can shut it down or restart it from a Linux PC on the network using the following:
net rpc shutdown -I IPADDRESS -U USERNAME%PASSWORD
You’ll need the samba-common package for the net command, and the user being supplied will need admin privileges.










