I generally use a quick command like
net statistics server|more on a Windows machine to quickly grab the uptime. I decided to put together a small uptime utility that will report the uptime of the system using, you guessed, uptime command.
Drop the uptime.exe into your
%PATH%; either something like
The code is available on Github at http://github.com/rjkreider/uptime if you want to take a peek at the code.
Here’s the obligatory screenshot…
I’ll also put a direct download link that is stored on my server. This is dated 12/19/2016, so check Github to make sure you have the latest. I may have found a bug, or someone may have found a bug, and things may have changed since I initially published this article.