TestimoX

API Reference

Command

Get-CxNetworkAdapter

Namespace ComputerX.PowerShell
Inputs
System.String[]
Outputs
ComputerX.Network.NetworkAdapter

Returns network adapter inventory for one or more computers.

Examples

Authored help example

Example 1: Retrieves the local network adapter inventory.

PS>


Get-CxNetworkAdapter
        

Example 2: Queries two cluster nodes and reviews the active adapters and link speeds.

PS>


Get-CxNetworkAdapter -ComputerName HV01,HV02 | Select-Object ComputerName,Name,MacAddress,LinkSpeed,Status
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Get-CxNetworkAdapter [-ComputerName <string[]>] [<CommonParameters>]
#

Parameters

ComputerName string[] optionalposition: 0pipeline: true (ByValue, ByPropertyName)
Target computer names. Use . for the local machine or provide DNS/NetBIOS names. When omitted, the local computer is queried.

Outputs

ComputerX.Network.NetworkAdapter