The SrvBoot command will print the times where one or more NT servers where booted. SrvBoot reads the System Event Log to get this information, so if the server was not booted since the System Event Log was last cleared or wrapped, then nothing is printed.
SrvBoot is a Perl program which internally uses the NetViewX and elDump commands. It is written by Jesper Lauritsen and is in the Public Domain.
SrvBoot takes the following arguments:
|\\server||Print when the server was last booted..|
|domain||Print when all NT servers in the domain was last booted.|
|-S [dir]||Also look in event logs saved with elSavClr (see the documentation for eldump -S).|
|-a time||Only print boots after this time [YY]YYMMDD[HH[MM[SS]]].|
|-A days||Only print boots in the last specified number of days.|
|-b time||Only print boots before this time [YY]YYMMDD[HH[MM[SS]]].|
|-B days||Only print boots before the specified number of days.|
|-w||Also print boots for NT Workstations in the specified domains.|
List when the server \\myserv was last booted:
List when any server in domain mycorp was booted in the last 24 hours:
srvboot mycorp -A 1
Download and installation
Before download and installation you should:
Download current version of SrvBoot.
The SrvBoot tool is distributed as a zip file containing SrvBoot.bat (the tool) and SrvBoot.htm (this page). If NetViewX and elDump is not in your path you must edit SrvBoot.bat to include the absolute path to these tools. Otherwise you do not have to install the tool - simply run it from a command line.
You may also want to look at the other NT tools by Jesper.
|0.1||Initial release. Consider this a beta release.|
last changed 20. juli 1999