Jump to content

Script to Return OS Build Dates


Recommended Posts

Posted

I have somewhere around 200 workstations that I am in charge of keeping in working order. I am looking to get a list of OS build dates so that I can start reimaging the oldest ones first. We use Spiceworks and unfortunately its returning bogus build dates from whatever source it uses. So is there a way to script a batch file that would work off a list of computer names, find the "Windows" or "WinNT" folder and return back the "Date Created" for that folder and append the results to a text file?


Posted

I have somewhere around 200 workstations that I am in charge of keeping in working order. I am looking to get a list of OS build dates so that I can start reimaging the oldest ones first. We use Spiceworks and unfortunately its returning bogus build dates from whatever source it uses. So is there a way to script a batch file that would work off a list of computer names, find the "Windows" or "WinNT" folder and return back the "Date Created" for that folder and append the results to a text file?

Have you tried a simple PSinfo:

http://technet.microsoft.com/en-us/sysinternals/bb897550.aspx

looking for "install date"?

jaclaz

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...