Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Get the last formatted dates of all machines in the network.

Hi,

I want to get the last formatted dates of all machines in my network.

Is there a way to get this.

Regards
Sharath
Avatar of Rob
Rob
Flag of Australia image

If you are able to run scripts remotely then you can run a script.

have a look into windows scripting: http://www.microsoft.com/technet/scriptcenter/scrptfaq.mspx

This will give you access to the disk object model to find out all the resouces you need
I don't think this is possible (as far i know). However you can get date and time of Windows installation.
Avatar of bsharath

ASKER

Thats what i want.Windows installation = Windows formatted date...
you can use this in a batch file

c:\>systeminfo | find /i "install date."
This command reads some thing but gets no output.How can i scan all machines in a file and get results to a file.
ASKER CERTIFIED SOLUTION
Avatar of Rob
Rob
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you could then loop through a file of computers and use the psexec from sysinternals to execute this.

In your batch file you would also use the >> operator to redirect all output to a file

ie.

psexec [other switches etc] systeminfo | find /i "install date" >> output.txt