< Back

Get-HPESysInfoServer

Tue Jan 14, 2020 2:30 am

NAME Get-HPESysInfoServer



SYNOPSIS

Get all or specific information about the server.





SYNTAX

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



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





DESCRIPTION

The Get-HPESysInfoServer cmdlet provides detailed information about the server such as asset tag, TPM presence

status, and UUID.





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 information about the server from the Get-HPESysInfoServer object.PS C:\\> $serv=Get-HPESysInfoServer -Username

username -Password password

PS C:\\> $serv



PCISLOTS : {@{PCIBusType=Not Available}, @{PCIBusType=Not Available}, @{PCIBusType=PCIExpressGen3},

@{PCIBusType=PCIExpressGen3}}

FIRMWARES : {@{SystemFWVersion=}, @{SystemFWVersion=}, @{SystemFWVersion=}, @{SystemFWVersion=}...}

ProductName : ProLiant BL460c Gen10

CurrentOSVersion : 10.0.14393

CurrentOSProductName : Microsoft Windows Server 2016 Datacenter

HostName : WIN-ABCDEFGHIJ

HostIPAddresses : {$null, $null, 10.10.10.10, 2001:db8:0:1:1:1:1:1, $null...}

UUID : 30373438-3231-4337-4537-303350313359

CPUTypeAndCount : @{Count=1; Model=Intel(R) Xeon(R) Gold 5117 CPU @ 2.00GHz;

Status=System.Collections.Generic.List`1[System.Object]}

MemoryTotalSize : @{Status=System.Collections.Generic.List`1[System.Object]; TotalSystemMemoryGiB=8}

SystemSerialNumber : 7CE703P13Y

ProductID : 847012-001

AssetTagString :

TPMPresenceStatus : NotPresent

Status : OK





EXAMPLE 2



Get ProductName information from the Get-HPESysInfoServer object.PS C:\\> $serv=Get-HPESysInfoServer -Credential

$credential

PS C:\\> $serv.ProductName

ProLiant BL460c Gen10





EXAMPLE 3



Get an HPESysInfoServer object and display detailed information about a specific Host IP Address.PS C:\\>

$serv=Get-HPESysInfoServer

PS C:\\> $serv.HostIPAddresses[1]

10.10.10.10

2001:db8:0:1:1:1:1:1





EXAMPLE 4



Get an object of Get-HPESysInfoServer and show all firmware versions along with firmware component names.PS C:\\>

$serv=Get-HPESysInfoServer

PS C:\\> $serv.FIRMWARES.SystemFWVersion | fl Name, Version





Name : iLO 5

Version : 1.10 May 05 2017



Name : System ROM

Version : I41 v1.00 (05/01/2017)



Name : Intelligent Platform Abstraction Data

Version : 1.31.0 Build 8



Name : System Programmable Logic Device

Version : 0x1A



Name : Power Management Controller Firmware

Version : 1.0.2



Name : Innovation Engine (IE) Firmware

Version : 0.1.0.23



Name : Server Platform Services (SPS) Firmware

Version : 4.0.3.199



Name : Redundant System ROM

Version : I41 v1.00 (05/01/2017)



Name : Intelligent Provisioning

Version : 3.00.344



Name : Power Management Controller FW Bootloader

Version : 1.1



Name : HPE Smart Storage Battery 1 Firmware

Version : 2.1



Name : HP FlexFabric 10Gb 2-port 536FLB Adapter

Version : 7.15.35



Name : HPE Smart Array P204i-b SR Gen10

Version : 1.00



Name : Drive

Version : HPD6







RELATED LINKS

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