LanHelper - Hainsoft.com
 Speed up your network management




 

Command Line Mode

From version 1.50 on, LanHelper provides command line support for Wake-On-LAN and Remote Shutdown functionalities. Now LanHelper users are able to implement one-click operations using shortcuts, or schedule Wake-On-LAN & Remote Shutdown tasks with Windows Task Scheduler or other scheduler programs.

Command line syntax:

LanHelper.exe <XML file>

Load an XML file that you previously saved in LanHelper.

Example:
LanHelper.exe c:\data.xml

LanHelper.exe /wol f:<text or xml file> [g:<XML group>] [ip:<ip address>]

Perform Wake-On-LAN operation.
 
f:<text or xml file> Specify a text file or LanHelper XML file that contains MAC addresses of machines you want to boot.
To a text file, its format is show below. In General tab of Wake-On-LAN dialog click Save button to get a valid-format text file.

MAC address [; IP broadcast address [; machine name]]

Example:
00-11-22-33-44-55
00-11-22-33-44-55;255.255.255.255
00-11-22-33-44-55;192.168.1.255
00-11-22-33-44-55;255.255.255.255;PC101
g:<XML group> Only select one or more XML groups of target machines from XML file. If a group name contains spaces, use double quotes to wrap it. Separated multiple group names with comma.
ip:<ip address> Specify a broadcast address or unicast address. By default it's 255.255.255.255. From version 1.92 on, you can set IP to 0.0.0.0 when specify an XML file. The program will regard the ip address of each item in XML file as an unicast address.

Example:
LanHelper.exe /wol f:c:\data.xml g:group01 ip:192.168.10.255

LanHelper.exe /shutdown f:<text or xml file> [g:<XML group>] [restart] [force] [t:xx] [c:<comment>]

Perform Remote Shutdown operation.
 
f:<text or xml file> Specify a text file or LanHelper XML file that contains names of machines you want to shutdown.
To a text file, it only contains a list of machine names, one machine per line.
g:<XML group> Only select one or more XML groups of target machines from XML file. If a group name contains spaces, use double quotes to wrap it. Separated multiple group names with comma.
restart Restart computer instead of shutdown.
force Forcibly close the running applications with unsaved changes
t:xx Daley xx seconds. The default is zero.
c:<comment> Specify comment to display in shutdown dialog box. Maximum of 127 characters.

Example:
LanHelper.exe /shutdown f:c:\data.xml g:group01 restart force t:60 c:shutdown comment here

LanHelper.exe /abort f:<text or xml file> [g:<XML group>]

Perform Abort Remote Shutdown operation.
 
f:<text or xml file> Specify a text file or LanHelper XML file that contains names of machines you want to abort shutdown.
To a text file, it only contains a list of machine names, one machine per line.
g:<XML group> Only select one or more XML groups of target machines from XML file. If a group name contains spaces, use double quotes to wrap it. Separated multiple group names with comma.

Example:
LanHelper.exe /abort f:c:\data.xml g:group01

After a command was successfully executed, no visible message will be displayed. The operation results were logged in the log file. If the main window showed on the screen, it meant that the parameters you typed were wrong.
 



  Copyright (C) 2009 Hainsoft.com. All Rights Reserved.