Try something like this
------------------
'lastboot.vbs Date of last boot of machine requires Admin Priv to run
dim strMonth
ComputerName = InputBox("Enter the name of the computer you wish to query"
I tried the code above and it works on my XP PC but when I run it on a 2000 server I get "December or later" for the field value. What am I missing? Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.