< Back

Get-HPESysInfoBIOSSettings

Tue Jan 14, 2020 2:23 am

NAME Get-HPESysInfoBIOSSettings



SYNOPSIS

Get information about BIOS settings.





SYNTAX

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



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





DESCRIPTION

Get information about BIOS settings including boot mode, NetworkBootRetry, and VirtualSerialPort.





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 the

operation to retrieve the data was not successful. The ???????StatusInfo??????? message will specify the reason why the

data retrieval operation failed. If the data retrieval operation is successful, "Status: OK" will be returned

for the cmdlet, and the component status will be seen in the Health property and/or other properties of the PS

object.





EXAMPLE 1



Get an object of Get-HPESysInfoBIOSSettings and show the information about boot mode.PS C:\\> $bios =

Get-HPESysInfoBIOSSettings -Username username -Password password

PS C:\\> $bios.BiosSettings.BootMode

Uefi





EXAMPLE 2



Get an object of Get-HPESysInfoBIOSSettings and show the information about NetworkBootRetry.PS C:\\> $bios =

Get-HPESysInfoBIOSSettings -Crendential $Credential

PS C:\\> $bios.BiosSettings.NetworkBootRetry

Enabled





EXAMPLE 3



Get an object of Get-HPESysInfoBIOSSettings and show the information about VirtualSerialPort.PS C:\\> $bios =

Get-HPESysInfoBIOSSettings

PS C:\\> $bios.BiosSettings.VirtualSerialPort

Com1Irq4







RELATED LINKS

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