Popular Post FN-GM Posted March 12, 2009 Popular Post Posted March 12, 2009 This script will take a whole inventory of your machines and put it in a CSV file. Its VBS just add it to a stsrtup script. It will also upload the dell service tag. Coding is attached Enjoy zInventory.txt 21
FN-GM Posted March 12, 2009 Author Posted March 12, 2009 I found it was handy for BSF when they wanted to know details of the network...
leco Posted March 12, 2009 Posted March 12, 2009 This script will take a whole inventory of your machines and put it in a CSV file. Its VBS just add it to a stsrtup script. z Thanks for this but a question - if I don't have a startup script (least I don't think I have) how do I run it? Can I just save it as a .bat and double click? Sorry if this is a stupid question but I don't know a great deal about running scripts.
mac_shinobi Posted March 12, 2009 Posted March 12, 2009 rename it to vbs extension and in group policy go to the startup scripts and add it in there ( not the login script ) 1
FN-GM Posted March 12, 2009 Author Posted March 12, 2009 rename it to vbs extension and in group policy go to the startup scripts and add it in there ( not the login script ) What he said, you dont need to have one already just make it the startup script. Its a VBS script not batch.
leco Posted March 12, 2009 Posted March 12, 2009 rename it to vbs extension and in group policy go to the startup scripts and add it in there ( not the login script ) So when does it run at the start up of what exactly?
FN-GM Posted March 12, 2009 Author Posted March 12, 2009 So when does it run at the start up of what exactly? Before you to the logon script it will run asif a user runs it. You set it to run as a startup script in group policy. 1
silver Posted March 13, 2009 Posted March 13, 2009 startup scripts are computer, not user defined - is that right? So....I'm not quite sure exactly where to put this script. Which computer or doesnt it matter. Sorry, that's probably a stupid question
jamin100 Posted March 13, 2009 Posted March 13, 2009 startup scripts are computer, not user defined - is that right? So....I'm not quite sure exactly where to put this script. Which computer or doesnt it matter. Sorry, that's probably a stupid question put it on your server. usually \\servername\netlogon
Little-Miss Posted March 13, 2009 Posted March 13, 2009 You know what, i've been sat here thinking that myself. There is a path in the script itself which im guessing it creates itself...
FN-GM Posted March 13, 2009 Author Posted March 13, 2009 You know what, i've been sat here thinking that myself. There is a path in the script itself which im guessing it creates itself... The CSV will make itself but you need to tell it where to make it. That is in the script.
webman Posted March 13, 2009 Posted March 13, 2009 I found it was handy for BSF when they wanted to know details of the network... You helped them?! Tell them to find out for themselves... 1
TechSupp Posted March 13, 2009 Posted March 13, 2009 I use one that is nery similar (just does not go in to quite as much detail). Save me stacks of time getting the basic PC info for an audit of PC's when I first started. Just use it every now and again when a new PC or two are added.
PiqueABoo Posted March 13, 2009 Posted March 13, 2009 Likewise.. it's fun (in that sad techy sense) to seeing the comma stripping it didn't take me very long to notice I urgently needed to add to mine.
NeoPlosive Posted April 15, 2009 Posted April 15, 2009 Nice script Although it only pulls out the active network card/mac... anyone got a mod suggestion to this script or another script which could help with pulling details for all network cards on the clients? 1
NeoPlosive Posted May 24, 2009 Posted May 24, 2009 Although it only pulls out the active network card/mac... anyone got a mod suggestion to this script or another script which could help with pulling details for all network cards on the clients? Anyone?
DrPerceptron Posted May 24, 2009 Posted May 24, 2009 (edited) Removing the IF statement surrounding line 91/92 should give you the info you want... you could tweak the condition to filter out the MiniPort stuff though. Or not actually... You'll get info, but it'll overwrite the previous bit of info, you'd need to update the value assignment to include the previous value of the variable and include something to tell where one ends and the next begins. MACAddressSet = MACAddressSet & " | " & objItem.MACAddress NetworkAdaptSet = NetworkAdaptSet & " | " & objItem.Description Should do the trick... maybe? Edited May 24, 2009 by DrPerceptron I lied :( but I fixed it?
mac_shinobi Posted May 24, 2009 Posted May 24, 2009 Anyone? normally in a vbscript in the querry if using wmi there is a line that has something like Where IpEnabled=True If you get rid of that it should return all the mac addresses however I can't read / see the script on my iPhone so not sure how it's been coded
NeoPlosive Posted May 24, 2009 Posted May 24, 2009 I've developed up a working solution in order to enable the inventorying of all network adapters. More here: http://www.edugeek.net/forums/scripts/35894-inventory-all-network-adapters.html
witch Posted June 9, 2009 Posted June 9, 2009 Sorry to be a pain but can someone tell me how to set where the csv file is saved? I thought I'd sorted it out but it doesn't work! I want it saved to my server (called, 'server'!!) in the admin info folder then the inventory folder. Ta
FN-GM Posted June 9, 2009 Author Posted June 9, 2009 Sorry to be a pain but can someone tell me how to set where the csv file is saved? I thought I'd sorted it out but it doesn't work! I want it saved to my server (called, 'server'!!) in the admin info folder then the inventory folder. Ta You need to set the path in the script
witch Posted June 9, 2009 Posted June 9, 2009 You need to set the path in the script Yes, I know and that is what I did - or at least I thought I had, but it didn't work which is why I am asking - given the info I have provided, what would you write in the script?
DrPerceptron Posted June 9, 2009 Posted June 9, 2009 from what I can gather, you need to create a csv file in there since the script doesn't appear to create one. Does it work or error or anything if you run it from your desktop etc?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now