Hi, I like to kow if there is a rpc call to power down a remote machine like rpcclient -c"shutdown -f -t0" remotemachinename moreover it would be great if there is a command to execute a exe or bat on a remote w2k machine. thanks hpb
On Thu, 2003-04-10 at 13:35, Hans-Peter Bernhard wrote:> Hi, I like to kow if there is a rpc call to power down a remote machine like > > rpcclient -c"shutdown -f -t0" remotemachinenameSamba 3.0 has almost exactly this command - also in the form 'net rpc shutdown'. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net samba.org build.samba.org hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : lists.samba.org/archive/samba/attachments/20030410/a0ca59be/attachment.bin