Jump to content

Display IP Address/DefGW in WinPE


CliveG

Recommended Posts

I want to connect to the most local server for installing my build from so what I was planning was to write a script which looked at the IP Address / Default GW of a machine when it had booted into WinPE and then lookup the nearest server based on a lookup table - I had considered a script to lookup in AD the site info but I'd rather keep this as indipendant and reliable as possible!

I've looked at scripts which use WMI to lookup IP information or PING servers and they don't seem to work in WinPE - I ammened connect.vbs to get the code in easily! I tried using KIX32.exe and it didn't work either! Does anyone have any advise on lookup these details in vbscript or anything else?!

Cheers

Clive

Link to comment
Share on other sites


Oh, I forgot something very useful : compname...it's a really great piece of software I discovered here and which I use every day now :)

It can display alll what you want, such as IP or MAC adress, and lots of stuff like that....you can even change these informations.

It's available on this page.

Link to comment
Share on other sites

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...