Those of us who have been in the IT industry for a while remember the heady days of never having to reboot a server… otherwise known as ‘The days before Windows Server.’ Those days are long gone, and even non-Windows servers need to be patched and restarted.
But how do you know when it last happened? If you have a proper management and monitoring infrastructure then you can simply pull up a report… but many smaller companies do not have that, and even in larger environments you may want to figure out up-time without having to go through the entire rigmarole of pulling up your reports. So here it is:
- Open a Command Prompt
- Type in net statistics server
There will be a line that says Statistics since m/dd/yyyy… That is when your server last rebooted.
If you want to shorten it, you can also just type Net Stats SRV. It provides the same results.
Incidentally, while the command specifically states Server, it works for workstations too.
…And now you know.
Leave a Reply