Script to poweroff clients in lan

sunilrk

sunilrk

@sunilrk-ZCaHW6 Oct 26, 2024
I need some help in writing script to poweroff client systems present in the lan from the server

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • durga ch

    durga ch

    @durga-TpX3gO Feb 11, 2012

    ... do you mean you need the server to push a script to poweroff the clients??
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Feb 11, 2012

    Hey, you can do this is two ways:

    Command Mode
    Open Start » Run, type cmd and press enter.
    Type shutdown -m \\computername, where computername is the hostname of the computer, connected in the LAN.

    GUI Mode
    In the Run, type shutdown -i and press enter.
    Click the "Add" box and type the name of the computer you want to shutdown or it's IP address. You can select what you want the computer to do.
    In this mode, it is NECESSARY to add a comment. Finally press "OK".

    Hope this helps! 😀
  • sunilrk

    sunilrk

    @sunilrk-ZCaHW6 Feb 16, 2012

    Yes the server should push the script to shutdown the clients