command prompt question. - Windows NT

This is a discussion on command prompt question. - Windows NT ; hello, i was wondering if anyone knows how i can shut down anothing computer on a network using command prompt? Thanks...

+ Reply to Thread
Results 1 to 2 of 2

Thread: command prompt question.

  1. command prompt question.

    hello, i was wondering if anyone knows how i can shut down anothing
    computer on a network using command prompt? Thanks


  2. Re: command prompt question.

    stewart260@yahoo.com wrote...
    >
    >hello, i was wondering if anyone knows how i can shut down anothing
    >computer on a network using command prompt? Thanks


    Pstools from www.sysinternals.com.
    Psshutdown (included in Pstools) can do what you want.

    usage: psshutdown [-?] [-t nn] [-m "message"] [-f] [-r] [-a] [-l | \\computer]


    -t
    Specifies the countdown in seconds until the shutdown (default: 20 seconds)


    -m
    This option lets you specify a message to display to logged-on users when a
    shutdown countdown commences


    -f
    Forces all running applications to exit during the shutdown instead of giving
    them a chance to gracefully save their data


    -r
    Reboot after shutdown


    -a
    Aborts a shutdown (only possible while a countdown is in progress)


    -l
    Shutdown the local system. You must specify this switch so that you don't
    inadvertently shutdown a computer by running PsShutdown without any parameters
    in the expectation that it will display its command-line options.


    \\computer
    Shutdown the computer specified



+ Reply to Thread