Command line switches for remote shutdown

Started by ClearEyetemAA55

Command line switches for remote shutdown   11 October 2019, 22:53

I am wondering whether there are more command line switches for netscan.exe. For example, the manual lists /wolfile:filename.txt, which allows to specify MAC addresses to wake-up... But is there something like /shut:filename.txt or /help ?
Thanks in advance.
SoftPerfect Support forum - Andrew avatar image

Re: Command line switches for remote shutdown   11 October 2019, 23:54

No, there aren't any switches for remote shutdown. It would be more flexible to use the built-in shutdown command, for example with a BAT file. Something like this:
for /f %%s in (list.txt) do shutdown -m \\%%s -s -f -t 0
Type shutdown /? in a command prompt for the complete list of parameters.

Re: Command line switches for remote shutdown   12 October 2019, 19:46

This works great!

(use %s for use in CMD)

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 ********   **    **  ********   **     **  **     ** 
 **     **  **   **   **     **  **     **  ***   *** 
 **     **  **  **    **     **  **     **  **** **** 
 ********   *****     ********   *********  ** *** ** 
 **         **  **    **         **     **  **     ** 
 **         **   **   **         **     **  **     ** 
 **         **    **  **         **     **  **     ** 

Message: