MSFT_ServerNetworkAdapter class

Represent an installed network adapter on the server.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("mgmtprovider"), AMENDMENT]
class MSFT_ServerNetworkAdapter
{
  string  Name;
  uint16  ConnectionStatus;
  boolean DHCPEnabled;
  string  Addresses[];
};

Members

The MSFT_ServerNetworkAdapter class has these types of members:

Properties

The MSFT_ServerNetworkAdapter class has these properties.

Addresses

Data type: string array

Access type: Read-only

The IP addresses mapped to the network adapter.

ConnectionStatus

Data type: uint16

Access type: Read-only

The connection status of the network adapter.

Disconnected (0)

Connecting (1)

Connected (2)

Disconnecting (3)

Hardware not present (4)

Hardware disabled (5)

Hardware malfunction (6)

Media disconnected (7)

Authenticating (8)

Authentication succeeded (9)

Authentication failed (10)

Invalid address (11)

Credentials required (12)

DHCPEnabled

Data type: boolean

Access type: Read-only

Is IP address assigned by Dynamic Host Configuration Protocol (DHCP).

Name

Data type: string

Access type: Read-only

The name of the network adapter.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Windows\ServerManager
MOF
MgmtProvider.mof
DLL
MgmtProvider.dll

See also

GetServerInventory method of MSFT_ServerManagerTasks