Windows Server Uptime Tool
Easily get the uptime and lastboot time on a single computer or multiple computers from an organizational unit.
How Does It Work?
Step 1: Open With PowerShell ISE
PowerShell ISE is built into windows, you can right click Get-Uptime.ps1 and click edit to open.
Step 2: Click Run
In PowerShell ISE, click the run button.
Step 3: Type the command Get-Uptime -OU
To check the uptime on all servers in an OU type the command below
You will be prompted to select an OU.
The uptime tool will now check the uptime of each computer in the OU you selected.
When complete the results will be displayed to the console
To create an HTML report run the command below. You can copy and paste the command, you can change the file path location.
Get-uptime -ou | ConvertTo-Html -Head $Header | Out-File -FilePath c:\it\uptime.html
If a computer is offline or there is an error pulling the uptime the report will display error in the uptime and lastboot field.
You can also check the uptime on a single server with the command below
get-uptime -computername server1
Active Directory Pro Toolkit
Huge savings if you buy the pro toolkit. Normally a single tool is $49 each, you can get all 9 tools for only $99
Contact our team. Anytime