Previous Page
Next Page

Win32_NetworkAdapterConfiguration

The Win32_NetworkAdapterConfiguration WMI class has many properties and methods. The properties are elements containing information about the specific network adapter configuration, and the methods are used to perform a specific action on the network adapter configuration, such as enabling DHCP. Indeed, with 41 methods defined in Microsoft Windows Server 2003, it is hard to think of an operation that isn't covered. Some of the more common methods are listed in Table 14-1. You can find complete documentation by searching on Win32_NetworkAdapterConfiguration in the Platform Software Development Kit (SDK).

Table 14-1. Win32_NetworkAdapterConfiguration Methods

Method

Description

DisableIPSec

Disables IP security on this TCP/IP-enabled network adapter

EnableDHCP

Enables the DHCP for service with this network adapter

EnableDNS

Enables Domain Name System (DNS) name resolution on this TCP/IP-bound network adapter

EnableIPFilterSec

Enables IP security globally across all IP-bound network adapter configurations

EnableIPSec

Enables IP security on this specific TCP/IP-enabled network adapter

EnableStatic

Enables static TCP/IP addressing for the target network adapter

EnableWINS

Enables Windows Internet Naming Service (WINS) settings specific to TCP/IP but independent of the network adapter

ReleaseDHCPLease

Releases the IP address bound to a specific DHCP-enabled network adapter

ReleaseDHCPLeaseAll

Releases the IP addresses bound to all DHCP-enabled network adapter configurations

RenewDHCPLease

Renews the IP address on specific DHCP-enabled network adapter configurations

RenewDHCPLeaseAll

Renews the IP addresses on all DHCP-enabled network adapter configurations

SetDatabasePath

Sets the path to the standard Internet database files (Hosts, LMhosts, Networks, and Protocols)

SetDNSDomain

Sets the DNS domain

SetDNSServerSearchOrder

Sets the server search order as an array of elements

SetDNSSuffixSearchOrder

Sets the suffix search order as an array of elements

SetDynamicDNSRegistration

Indicates dynamic DNS registration of IP addresses for this IP-bound adapter

SetGateways

Specifies a list of gateways for routing packets destined for a different subnet than the one to which this adapter is connected

SetIPConnectionMetric

Sets the routing metric associated with this IP-bound adapter

SetKeepAliveInterval

Sets the interval separating Keep Alive Retransmissions until a response is received

SetKeepAliveTime

Sets how often TCP attempts to verify that an idle connection is still available by sending a Keep Alive packet

SetTcpipNetbios

Sets the default operation of network basic input/output system (NetBIOS) over TCP/IP

SetTcpMaxConnectRetransmissions

Sets the number of times TCP will retransmit a connect request before aborting

SetTcpMaxDataRetransmissions

Sets the number of times TCP will retransmit an individual data segment before aborting the connection

SetTcpNumConnections

Sets the maximum number of connections that TCP might have open simultaneously

SetTcpWindowSize

Sets the maximum TCP Receive Window size offered by the system

SetWINSServer

Sets the primary and secondary WINS servers on this TCP/IP-bound network adapter



Previous Page
Next Page