bsharath
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
I want to get the last formatted dates of all machines in my network.
Is there a way to get this.
Regards
Sharath
I don't think this is possible (as far i know). However you can get date and time of Windows installation.
ASKER
Thats what i want.Windows installation = Windows formatted date...
you can use this in a batch file
c:\>systeminfo | find /i "install date."
c:\>systeminfo | find /i "install date."
ASKER
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
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