Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VBscript

Posted on 2004-09-28
8
Medium Priority
?
724 Views
Last Modified: 2008-03-06
Hi,
Is there a vbscript code to check if a machine is PXE-enabled or not?

Is there a class in WMI that is used to check if the machine is PXE-Enabled?

Thanks,
Joseph.

0
Comment
Question by:jjoseph
[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
8 Comments
 
LVL 31

Expert Comment

by:merowinger
ID: 12177701
hi,
i see that nobody has answered to your question, but in my opinion it is manfacturer depended. I dont believe, that you can find out this via script.
Suggest:
Here a script to find out the NIC name and manufaturer, you may can look manually, which cards are pxe able!!!

'-------------------------------------------------------------------------------------------------------------
On Error Resume Next
strComputer = "yourpcnames"
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapter",,48)
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
    Wscript.Echo "Description: " & objItem.Description
    Wscript.Echo "Name: " & objItem.Name
Next
'-------------------------------------------------------------------------------------------------------------

good luck
mero
0
 

Author Comment

by:jjoseph
ID: 12179044
Hi,
I can manually look to find out if it is pxe-enabled. But my requirement is to find via vbscript. I am quite sure that there is a class in WMI to find that.

Do let me know if you can get that class which tells me if the network card is pxe-enabled.

Thanks.
Joe.
0
 
LVL 31

Expert Comment

by:merowinger
ID: 12179087
hi,
where do you look if a card is pxe enabled?? because there is a bios wmi class (but there is nothing listed),
there also exists network classes, but i didn_t find a pxe entry there.

i look further...
mero
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:jjoseph
ID: 12189734
Hi,
What I meant was I can change the settings in BIOS to boot via pxe-enabled Network card.
But I need the WMI class or vbscript to check if the network card is pxe-enabled.

Thanks.
Joe.
0
 
LVL 6

Expert Comment

by:kapes
ID: 12505345
not possible.. unless u r using PC manufacture specific utilities... like for Dell .... Open Manage...
0
 

Author Comment

by:jjoseph
ID: 12571057
Hi,
I will try that. Thanks !

Joe.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12848599
PAQed with no points refunded (of 50)

modulo
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

610 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