Networking Forums

Networking Forums > Computer Networking > Windows Networking > How to get order of Network Connections through WMI/WSH

Reply
Thread Tools Display Modes

How to get order of Network Connections through WMI/WSH

 
 
=?Utf-8?B?UmFnaGF2ZW5kcmEgUEQ=?=
Guest
Posts: n/a

 
      10-26-2004, 09:31 AM
On a Windows 2003 server/Windows XP, order of 'Network connections' is set
using 'Advanced->Advanced Settings' menu of 'Network Connections' MMC Snap-in.

I have a requirement where I need list of IP addresses on the machine
through WMI in WSH scripts, in the same order as specified in 'Network
Connections' MMC Snap-in.

Currently I'm using query ""select IPAddress from
Win32_NetworkAdapterConfiguration where IPEnabled=TRUE" but the IP addresses
are not in the order as mentioned above.

Questions:
1. Is it possible to get IPaddresses through WMI as per order?
2. If yes, what is the WMI query to be used?

Thanks in advance,
Raghavendra
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network to host order Riccardo Manfrin Linux Networking 5 04-04-2011 02:43 PM
Network Monitoring - Connections Active/Connections Established PeteL Windows Networking 1 03-30-2010 11:32 AM
Problems with my Network in order to connect Samsung Blu-ray Disk cuddie Wireless Networks 1 01-05-2010 06:28 PM
DNS Server Order and VPN Connections in Vista David L. Crow Windows Networking 2 06-08-2008 04:57 PM
Is there any way to order network connections? Franklin Bowen Windows Networking 0 10-07-2003 04:37 PM



1 2 3 4 5 6 7 8 9 10 11