?
Solved

VBscript

Posted on 2004-09-28
8
Medium Priority
?
718 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

743 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