< Back

Get-HPESysInfoSoftware

Tue Jan 14, 2020 2:31 am

NAME Get-HPESysInfoSoftware



SYNOPSIS

Get all or specific information about the software installed on the system.





SYNTAX

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



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





DESCRIPTION

The Get-HPESysInfoSoftware cmdlet provides detailed information about the software such as name and 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 HPESysInfoSoftware object and show the software inventory.PS C:\\> $swre = Get-HPESysInfoSoftware -Username

username -Password password



PS C:\\> $swre.SOFTWAREINVENTORY | fl



Name : ams.exe

Description : agentless management service

Version : 1.30.0.0



Name : ssa.exe

Description : smart storage administrator

Version : 3.30.14.0





EXAMPLE 2



Get an HPESysInfoSoftware object and show specific software component with array index.PS C:\\> $swre =

Get-HPESysInfoSoftware -Credential $credential



PS C:\\> $swre.SOFTWAREINVENTORY[0]



Name Description Version

---- ----------- -------

ams.exe agentless management service 1.30.0.0





EXAMPLE 3



Get an HPESysInfoSoftware object and show the names of all software components.PS C:\\> $swre =

Get-HPESysInfoSoftware

PS C:\\> $swre.SOFTWAREINVENTORY.Name

ams.exe

ssa.exe







RELATED LINKS

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