26 November 2012

How to get Windows Server uptime

The quickest way to determine, how long the server you are working with, has been up and running is:

wmic os get lastbootuptime

It returns the result in ISO date format:

image

The +120 means time zone information (UTC +2 hours).

No comments:

Post a Comment