ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Need replacement for MS Uptime.exe

<< < (2/2)

Stoic Joker:
NTToolkit - http://netikus.net/products_nttoolkit.html?SESSION=

PSTools - http://technet.microsoft.com/en-us/sysinternals/bb896649
-PhilB66 (November 15, 2011, 06:52 PM)
--- End quote ---

Thanks, but neither fits the requirements.

NTToolkit is dependent on VC9 runtime files, and its uptime only does LM. I need to be able to check the uptime of a remote machine, and optionally dump the event logs for either a LM or a remote machine.

PSTools I currently already use for other things...Specifically PsExec which is incredibly handy for all sorts of things. Unfortunately PsInfo is dependent on the Remote Registry service being started on the remote machine ... And while it is relatively trivial to launch the service manually as/if needed ... It really doesn't qualify (with the extra steps) as a quick answer. It also will not dump the event logs.

The output from the screenshot above would typically only take about 2 seconds even when run against a remote machine, and its only requirement was that the target machine must be running. That is the type of quick answer I'm looking for.

Josh:
From a command prompt

systeminfo | find "Time:"
systeminfo /s \\192.168.1.1 | find "Time:"

Stoic Joker:
From a command prompt

systeminfo | find "Time:"
systeminfo /s \\192.168.1.1 | find "Time:"
-Josh (November 15, 2011, 08:43 PM)
--- End quote ---

Um...
C:\Users\Stoic Joker>systeminfo /s \\192.168.0.4 | find "Time:"
System Boot Time:          10/4/2011, 7:01:38 PM
--- End quote ---

...Yes, I am too lazy to do-the-math... :)

...Are you trying to subtly point me at the apparent fact that I'm going to have to write the damn thing myself?  :D

Navigation

[0] Message Index

[*] Previous page

Go to full version