< Back

Get-HPESysInfoASR

Tue Jan 14, 2020 2:23 am

NAME Get-HPESysInfoASR



SYNOPSIS

Get Automatic Server Recovery information.





SYNTAX

Get-HPESysInfoASR [<CommonParameters>]





DESCRIPTION

Get Automatic Server Recovery information including its state (enabled or disabled) and the timeout interval (in

minutes).





PARAMETERS

<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-HPESysInfoASR and display the Automatic Server Recovery information of the server.PS C:\\>

$asr = Get-HPESysInfoASR

PS C:\\> $asr | fl





ASRState : Enabled

TimeoutInMinutes : 10

Status : OK





EXAMPLE 2



Get an object of Get-HPESysInfoASR and check whether Automatic Server Recovery is enabled.PS C:\\> $asr =

Get-HPESysInfoASR

PS C:\\> $asr.ASRState

Enabled





EXAMPLE 3



Get an object of Get-HPESysInfoASR and show the time out interval (in minutes).PS C:\\> $asr = Get-HPESysInfoASR

PS C:\\> $asr.TimeoutInMinutes

10







RELATED LINKS

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