03.07.2017, 15:15
Hi,
Searching to find a way to remotely shut down some PCs from the Visualization, I cam across to this:
Shut Down From Linux
Is there an way to issue a net rpc shutdown command from an LM script?
Thanks in advance
Searching to find a way to remotely shut down some PCs from the Visualization, I cam across to this:
Shut Down From Linux
Once you’ve set up the computer, you can also shut it down from a Linux system. This requires the samba-common package installed – you can install it on Ubuntu with the following command:
Quote:sudo apt-get install samba-common
Once you have, use the following command from a terminal:
Quote:net rpc shutdown -I ip.address -U user%password
Is there an way to issue a net rpc shutdown command from an LM script?
Thanks in advance