Lights-Out for Windows Server Solutions 2011/2012
|
Those who like to control the server via batch files can now use the Lights-Out command line client.
The command line also allows to use the "client action after backup" in batch files or backup/copy scripts.
The command line client is installed together with the Windows client software and can be found in
%programfiles%\AxoNet Software GmbH\LightsOutClient
Call LightsOutClient.Commandline.exe with one of these parameters:
Short parameter |
Long parameter |
Description |
-w |
--wake_server |
Wake server using wake-on-lan |
-s |
--suspend_server |
Suspend server now |
-e |
--enable_monitoring |
Monitor this client for activity |
-d |
--disable_monitoring |
Do not monitor this client for activity |
-g |
--get_status |
Report state of server and return error level |
-b |
--backup_now |
Wake server, run backup then execute action after backup |
-c |
--count_down |
Start count down and execute action after backup (New) |
-h |
--help |
Display short usage information |
0 = Command was successful or server is not active
1 = Server is active
2 = Error: Lights-Out client service is not running
3 = Parameter error
4 = Time out getting server status
Get server status
C:\>"%programfiles%\AxoNet Software GmbH\LightsOutClient\LightsOutClient.Commandline.exe" -g LightsOutClient.Commandline 1.5.6.2283 Copyright (C) 2011 AxoNet Software GmbH, Martin Rothschink Get status of server ... ... Server is active C:\>
Wake server
C:\>"%programfiles%\AxoNet Software GmbH\LightsOutClient\LightsOutClient.Commandline.exe" -w LightsOutClient.Commandline 1.5.6.2283 Copyright (C) 2011 AxoNet Software GmbH, Martin Rothschink Wake server C:\>
Start count down
C:\>"%programfiles%\AxoNet Software GmbH\LightsOutClient\LightsOutClient.Commandline.exe" -c LightsOutClient.Commandline 1.5.6.2283 Copyright (C) 2011 - 2014 AxoNet Software GmbH, Martin Rothschink Start Count down and execute end action C:\>
As a result the count down window is visible and executes the action after back.
Copyright (c) Martin Rothschink, AxoNet Software GmbH 2008-2015
|
What do you think about this topic? Send feedback!
|