Reboot time
what type of tool (powershell or gui) on figuring out server how long client computers has been , has been rebooted?
 
hi,
locally, can use systeminfo | find /i "boot time"
or if want remotely using powershell, can use these 2 comands:
$lastbootuptime = get-wmiobject win32_operatingsystem -comp computername | select -exp lastbootuptime [system.management.managementdatetimeconverter]::todatetime($lastbootuptime)
alternatively can use ready-to-go script galley: https://gallery.technet.microsoft.com/scriptcenter/1918777c-1915-406f-8193-3febb6012d3c.
regards
  
                                                                          Windows Server                                                     >                                                                 Group Policy                                                                           
 
 
  
 
Comments
Post a Comment