Get uptime on windows server 2008




















Not an IT pro? Script Center. Sign in. United States English. Ask a question. Quick access. Search related threads.

Remove From My Forums. Answered by:. Archived Forums. The Official Scripting Guys Forum! If your answer is "yes," you know what to do.

Dive in and help somebody! If your answer is "no," welcome to our fun little world! We'd recommend that you first head over to the Script Center, get your feet wet, and then come back to either ask or answer questions. We can't be everywhere at once we know—shocking! The Microsoft Scripting Guys 1 3. Sign in to vote. I used Uptime. Thursday, August 4, AM. If you found this post helpful, please give it a "Helpful" vote.

If it answered your question, remember to mark it as an "Answer". Friday, August 12, PM. The below article should help. It has various ways to get the information on system uptime.

I have referred to that link, however it did not meet my expectation because I would like to know the reboot history whereby the Uptime. Why do you say it doesn't work? It works fine and can show history. It does work on some Server systems as you can see in the example below but no all of them: uptime.

Thursday, August 11, PM. I believe we are on the right track but there must be something else. Are these servers, by any chance, and R2? This is interesting. Have you 'google'd for this issue?

Active 3 years, 6 months ago. Viewed 4k times. I think you're better off trying to rewrite from scratch or looking for a Windows version — Pekka. You'd basically have to rewrite it from scratch for Windows. I just found this information that mentions a way to do it, but would that work correctly to replace the nix code here? Add a comment. Active Oldest Votes. Let me know how you get on. DaveRandom DaveRandom Andrew Andrew 1, 1 1 gold badge 18 18 silver badges 29 29 bronze badges.

Vlad S. Sign up or log in Sign up using Google. Sign up using Facebook. Asked 9 years, 5 months ago. Active 2 years, 4 months ago. Viewed k times. Err, are you looking for a command in command prompt? If you are, then try net statistics server in command prompt. Question to be posted in superuser — How to retrieve information about the system state from the command line is very clearly related to programming.

This question is answered on ServerFault: serverfault. Show 3 more comments. Active Oldest Votes. Following are eight ways to find the Uptime in Windows OS. Right-click on the Taskbar, and click Task Manager.

In Task Manager, select the Performance tab. Open a Command Prompt and type the following command: systeminfo You can also narrow down the results to just the line you need: systeminfo find "System Boot Time:" 3: By using the Uptime Utility Microsoft have published a tool called Uptime. To use it, follow these steps: Download uptime.

Open an elevated Command Prompt window. Navigate to where you've placed the uptime. Run the uptime. Basic usage. Click on Event Viewer Local in the left navigation pane.

In the middle pane, click on the Information event type, and scroll down till you see Event ID A list of all instances of the Event ID will be displayed. You can examine this list, look at the dates and times of each reboot event, and so on. Open Server Manager tool by right-clicking the Computer icon on the start menu or on the Desktop if you have it enabled and select Manage.

Navigate to the Event Viewer. WMI : wmic os get lastbootuptime — ded'.



0コメント

  • 1000 / 1000