Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to manipulate WMI reults?

Status
Not open for further replies.

markdmac

MIS
Dec 20, 2003
12,340
0
0
US
I am working in VisualBasic.Net Express edition.

While I am excellent with VBScript code, my .Net skills are self taught and lacking the depth of understanding I need for some tasks.

I have managed to remotely be able to check Physical Memory using WMI in VB.Net, but that query returns a single response. Now I need to be able to count the number of processor cores and also see how many physical NICs are present and what their link speed is.

Can anyone point me to any samples or provide me with some direction to achieve my goal? The account running the executable will be a network admin that has rights to everything. The program I am writing will be checking prerequisites before installing an application and will then kick off some code to install Windows components.

Thank you.
Mark




 
Looks like I am in good shape. I downloaded this tool from MS to help me create the code I needed:

I hope that helps.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top