/build/static/layout/Breadcrumb_cap_w.png

comand line access to "This connection uses the following items"

Hi folks,

I'm packaging a VMware ACE client that is a standalone dsl workstation. In order for this not to interfere with out corporate network I have to disable some items in the 'This connection uses the following items' section of the LAN connection properties. I.e. the network card that is hooked up to the dsl modem will only have VMware-bridging enabled (on the host computer) and the network card with access to the corporate lan will have this disabled.

I've searched the net for information on how to access these settings via the command line but was not successful.

Anybody?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: jmcfadyen 17 years ago
5th Degree Black Belt
0
you can use WMI to access network adapter settings.

download scriptomatic 2 from microsoft run that up and lookup network_adapters.

it will give you all the code you need to access the wmi classes required.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ