< Back

Get-HPESysInfoNetwork

Tue Jan 14, 2020 2:27 am

NAME Get-HPESysInfoNetwork



SYNOPSIS

Get all or specific information about network.





SYNTAX

Get-HPESysInfoNetwork [[-Username] <String>] [[-Password] <String>] [<CommonParameters>]



Get-HPESysInfoNetwork [-Credential <PSCredential>] [<CommonParameters>]





DESCRIPTION

The Get-HPESysInfoNetwork cmdlet provides detailed information about the network such as the adapter name, link

status, and firmware version.





PARAMETERS

-Username [<String>]

Username to log onto the target iLO. Username needs to be provided as an input along with Password. This

parameter is required when the iLO security is enabled.



ParameterSetName: UsernamePasswordSet



Required? false

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Password [<String>]

Password to log onto the target iLO. Password needs to be provided along with Username. This parameter is

required when the iLO security is enabled.



ParameterSetName: UsernamePasswordSet



Required? false

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Credential [<PSCredential>]

Holds the target iLO Credential in a secure manner. This parameter is required when the iLO security is

enabled.



ParameterSetName: CredentialSet



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Object







NOTES

Status



The value returned in the "Status" property reflects the data retrieval operation of a cmdlet. It does not

reflect the component status. When a cmdlet returns ???????Status: Error??????? or ???????Status: Warning???????, it indicates that

the operation to retrieve the data was not successful. The ???????StatusInfo??????? message specifies the reason for the

data retrieval operation failure. If the data retrieval operation is successful, "Status: OK" is returned for

the cmdlet, and the component status is displayed in the Health property and/or other properties of the PS

object.



EXAMPLE 1



Get an HPESysInfoNetwork object and show a specific network adapter by array index.PS C:\\> $netw =

get-hpesysinfonetwork -Username username -Password password





PS C:\\> $netw.BASENETWORKADAPTERS.count

2



PS C:\\> $netw.BASENETWORKADAPTERS[0]





AdapterNameAndModel : HPE Eth 10/25Gb 2p 640FLR-SFP28 Adptr

LinkStatus : @{Status=Not Available; LinkStatus=Not Available; State=Not Available}

MacAddress : {98:f2:b3:d1:c3:f0, 98:f2:b3:d1:c3:f1}

IPv4Address : {}

IPv6Address : {@{Address=N/A}, @{Address=N/A}}

FWVersion : 14.22.14.14

PciDeviceStructuredName : NIC.FlexLOM.1.1

UefiDevicePath : PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)

DuplexInfo : {True, True}

PartNumber : 840139-001

SerialNumber : IL273404NL

InterfaceName : {Embedded FlexibleLOM 1 Port 1, Embedded FlexibleLOM 1 Port 2}

MaxTransmissionUnit : {0, 0}

StatisticsInfo : @{BadReceives=Not Available; BadTransmits=Not Available; GoodReceives=Not Available;

GoodTransmits=Not Available}

NicTeamingInfo : Not Available

FcPorts : @{WWNN=Not Available; WWPN=Not Available}





EXAMPLE 2



Get an HPESysInfoNetwork object and show the firmware version of all adapters.PS C:\\>

$netw.BASENETWORKADAPTERS.FWVersion -Credential $credential

14.22.14.14

20.12.41





EXAMPLE 3



Get an HPESysInfoNetwork object and show the adapter name and model of all network adapters.PS C:\\>

$netw.BASENETWORKADAPTERS.AdapterNameAndModel

HPE Eth 10/25Gb 2p 640FLR-SFP28 Adptr

HPE Eth 10/25Gb 2p 631SFP28 Adptr







RELATED LINKS

http://www.hpe.com/servers/powershell