Jump to content

Script to Return OS Build Dates


phillyman2004

Recommended Posts

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?

Link to comment
Share on other sites


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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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