Get Network Computers Uptime using Powershell

What is your Network Computers Uptime?The problem

Computers just need to be rebooted.  Its a simple fact.  If you manage a lot of computers, keeping track of the last time a reboot happened may be an issue.  Here’s a down and dirty script to get all of your active directory network computers uptime.  I’ve even given an option to tell you when a system is overdue for a reboot based on you own definition of how log is $toolong.

The Code – Network Computers Uptime

Now that you know your network computers uptime, shouldn’t you be rebooting them?