|
NirCmd Command Reference - multiremote
|
multiremote {copy} [computers file] [NirCmd command]
Executes NirCmd command in multiple remote machines.
if {copy} parameter is specified, NirCmd will copy
itself to the Windows directory of the remote machines. You must specify this parameter if
NirCmd doesn't exist in the Windows directory of the remote machines.
The [computers file] parameter is a file that contains
the computers list separated by Enter characters (CRLF).
Example for computers list file:
\\comp1
\\comp2
\\winxp1
\\winxp2
\\nirsoft
The command specified in [NirCmd command]
will be executed in all computers specified in the computers file.
Examples:
- Turn off all computers specified in computers.txt
multiremote "c:\temp\computers.txt" exitwin poweroff force
- Lock all computers specified in computers.txt
multiremote "c:\temp\computers.txt" lockws
- Copy NirCmd to all computers specified in computers.txt, and then turn off their monitors.
multiremote copy "c:\temp\computers.txt" monitor off
- Copy NirCmd to all computers specified in computers.txt, and run WinUpdatesList utility in order to save Windsows Updates info in all computers.
multiremote copy "c:\temp\computers.txt" exec hide c:\temp\wul.exe /shtml "c:\temp\wul_~$sys.computername$.html"
Other commands:
NirCmd Web Page
Download NirCmd
NirSoft Web Site
|
|