Jump to content

Recommended Posts


Posted
In fact it is batch :)

I got mac using ipconfig /all | find /i "Physical address", then I parse this to make it .ini file compatible...

I will try to post it today/tomorrow for you.

BUMP!

Posted

Here is a VBS script that list the Network Adaptor Name and the IP address.

I have only tested it on Vista, I have not tried it on any other OS.

strComputer = "."

Dim Act : Set Act = CreateObject("Wscript.shell")

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * From Win32_NetworkAdapterConfiguration " & _

        "Where IPEnabled = True")

For Each objItem in colItems

  NetAdp = Split(objItem.Caption, "]")

    Act.Popup "Network Adaptor Name : " & NetAdp(1) , 5, "Network Adaptor", 0 + 32

    For Each objAddress in objItem.IPAddress

        Act.Popup "IP Address: " & objAddress , 5, "Ip Address", 0 + 32

    Next

Next

  • 2 weeks later...
Posted
In fact it is batch :)

I got mac using ipconfig /all | find /i "Physical address", then I parse this to make it .ini file compatible...

I will try to post it today/tomorrow for you.

bump?

  • 3 months later...
  • 3 years later...
Posted
I think I have found an ugly work around tho. A Boot CD that boots into DOS, sets asset tag, then fires up PE.

Can you tell me what is the ugly work around?

We are trying to do the same thing here at work, boot into DOS => sets asset tag => then to BartPE

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...