View Single Post
Old 25-02-2005, 12:25 PM   #18 (permalink)
clipse
Member
 
Join Date: Oct 2003
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by malfunction
Well there's no reason why you couldn't just use vbscript to do the whole thing anyway... Or even just a simple batch file to pipe the output of ipconfig/all to a file - e.g

ipconfig /all >c:\ipconfig.txt

Though if you use something like WMI you could also collect other info (OS version for example)... It would be more work but a better way might be to produce an ISP style dial up / access CD (or just a program) that you can hand out to students that basically requires them to only:

1) Get the program on the PC (e.g. insert CD)
2) Program autoruns if possible
3) Program asks for validated user id / password (printed separately)
4) These are submitted to some kind of 'public' / DMZ part of the uni's infrastructure and if they are accepted the program then uploads the MAC address, etc and configures the client PC as appropriate

Just a thought anyway
Yes that's why I was looking at using WSH & WMI in the first place- to collect this information on user's machines. I don't mind using WSH to dump the output of IPconfig into a file and then using VB to go through and extract the info I want (as this seems to work with all versions of Windows). I just dont know how to actually make that happen in VB...
clipse is offline   Reply With Quote