Here is a simple command to determine the system boot time: systeminfo | find "System Boot Time" Credit to http://www.powercram.com/2010/01/find-last-reboot-time-in-windows-7.html
The following Script stub will query AD for all active Windows 2008 Servers (can be tweaked) and create a collection of those servers.
# ###################################################################### # - Section for gathering Windows Server Information ... # -- Define Global Variables -- $strCategory = "computer" $strOS = "*2008*"
# -- Get AD information -- $objDomain = New-Object System.DirectoryServices.DirectoryEntry