Windows CLI

shutdown /m \\<insertpcname> /t 30

For more info, shutdown /? at the command line. :)

You may need to use runas in conjunction if your account isn't an admin account on the other machine:

runas /env /user:[email protected] "shutdown /m \\<insertpcname> /t 30"

runas /? for more info.

Hope that helps.
 
Assuming they are running an NT based OS and you have the authority to do so, should be able to do it with:

shutdown -m \\%machinename% -s

Other switches you can use are -f for forcing applications to close or -t TIME where time is a number in seconds (do shutdown /? on command line for all switches).

/Edit Beaten...hard.
 
Last edited:
Back
Top Bottom