?
Solved

WMI scripts or similar for multiple machine specs

Posted on 2013-05-22
5
Medium Priority
?
479 Views
Last Modified: 2013-12-03
My Dilemma, I need to retrieve machine spec's for a large number of machines on a daily basis. The machines are on a production line. Some will have hard disks some will not. I need something that can basically retrieve details from the bios like processor speed, mother board type, memory, serial number etc and export it to a CSV file or else write to the same CSV file. I am looking at WMI code creator and it seems good but I think I would need something at the boot level. I'm open to enterprise software also if I can find the right one. Thanks.
0
Comment
Question by:Sid_F
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 38

Expert Comment

by:Rich Rumble
ID: 39199949
You'll need linux, or to use a bart-pe type of program as windows can't be used "diskless", plus linux would be faster and get you the same info. boot a "live" cd/dvd/usb and run a few commands and it could write to a USB drive.
dmidecode will get you a lot of hardware info, like CPU speed,type and numbers, as well as the asset tag's or serials that are stored in the bios, I think there are roughly 40 items dmidecode will get info for you on: http://www.thegeekstuff.com/2008/11/how-to-get-hardware-information-on-linux-using-dmidecode-command/
Otherwise, use a bootable bart-pe image, and run lots and lots of "wmi" commands, but you'll have to boot into windows first. You could be booted into a CLI linux OS in under 30 seconds, and if your using a USB boot device you could potentially write to a separate partition on the USB that records the dmidecode output...
sudo demidecode >>/mnt/usb2/computers.txt
Granted it's not CSV'd but that could be accomplished pretty easily I'm sure if you opened another TA like the perl or linux in general topic areas.

-rich
0
 
LVL 6

Author Comment

by:Sid_F
ID: 39200438
Ok I think this sounds like it could work. If I incorporated Altiris into this I could potentially set the machine to PXE boot to the BartPE CD hosted on linux and then in some way write the data to the altiris CD. I'm thinking a CSV file for each asset tag machine will become cumbersome and I would be better off writing to the altiris DB but this is an area I have no knowledge of.
0
 
LVL 38

Accepted Solution

by:
Rich Rumble earned 2000 total points
ID: 39200830
Writing to a CD would be the last thing I'd do, USB bootable images are very easy to work with, or even using linux to FTP a result to a server on a network. Since your talking about PXE booting, you might as well use that same network connection. Writing to a DB is fine, but don't bring altiris into it... You can have someone in another topic area help you automate the dmidecode to write to a db or csv on the network, or easier yet, to a separate partition on the USB drive.
-rich
0
 
LVL 6

Author Comment

by:Sid_F
ID: 39200861
Thanks sorry I wasn't clear in my post above. I think Altiris has some asset tagging functionality in some of the modules that can get this data.
0

Featured Post

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
If you're a modern-day technology professional, you may be wondering if certifications are really necessary. They are. Here's why.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question