Uptime windows server




















I hope this article helped you find the uptime on your windows server or workstation. If you liked this article, then please subscribe to our YouTube Channel for more Active Directory tutorials. This FREE tool lets you get instant visibility into user and group permissions. Quickly check user or group permissions for files, network, and folder shares. How to check windows Servers or workstations uptime? Below are a few options for quickly checking the uptime.

Example 1: Using the uptime. Now just type uptime You can see in my screenshot PC1 has been up for 6 days. Pretty easy huh? Example 2: By Using the task manager to view uptime You can view the uptime on Windows Servers by using the task manager. Follow these steps: Right click the task bar and open task manager Then click the performance tab and make sure you have CPU selected on the left.

You can see below you can use the WMIC syntax os get lastbootuptime to return the last time the server was started. The systeminfo command displays detailed configuration info about a computer and can be used to query system uptime.

By using the built-in find command line tool you can parse the text to retrieve the data you need. You do not have to download anything to leverage systeminfo , as it comes pre-installed with Windows.

You can also quickly query uptime via Net Statistics or more commonly known as net stats. The net stats command returns general information about your session. You can see below the Statistics since… line.

This date indicates when the machine was started. This utility is perfect for quickly querying uptime on any Windows version. The major benefit of this tool is the convenience factor. If you find yourself using this many times per day you may want to consider this method. After downloading the tool, extract uptime.

Then open up a command prompt and simply type uptime. This script allows you to provide a computer name as a parameter. It will then parse the System event log of the computer and find both a start and stop event to compare the two.

It will then return the total time the server was online until the event log has rolled. Below is an example of using this script on a server. It will return the total uptime for all of the events the server has in the event log, including the current uptime.

This script is a quick way to find the uptime of a single server across many days. But what if you need this information for lots of servers at once? To do this, you can gather up a list of servers and then pass each computer name, one at a time, to this script.

As an example, define all your servers in an array in the PowerShell console. In reality, though, you might be pulling server names from Active Directory, Hyper-V, or a text file. Add a server name to the output like below using a calculated property.

We now have an excellent little tool that can provide us a quick report on uptime for our servers over time!



0コメント

  • 1000 / 1000