...rebooted in the last x days from today.
If I use the date function, I get 7/26/2004
Using
Set colItems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem",,48)
Wscript.echo "Date of Last Boot: " & (Left(objItem.LastBootUpTime,8))
I get 20040726
I cant seem to use...