< Back

Get-iBMCSessionTimeout

Tue Jan 14, 2020 2:56 am

NAME Get-iBMCSessionTimeout



SYNOPSIS

Get the iBMC session timeout period.





SYNTAX

Get-iBMCSessionTimeout [-Session] <RedfishSession[]> [<CommonParameters>]





DESCRIPTION

Get the iBMC session timeout period.





PARAMETERS

-Session <RedfishSession[]>

RedfishSession object that returned by Connect-iBMC cmdlet.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, 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

You can pipe the RedfishSession array to Set-iBMCSessionTimeout.

The RedfishSession array is obtained from executing Connect-iBMC cmdlet.





OUTPUTS

PSObject[]

Returns PSObject indicates session timeout informations if cmdlet executes successfully.

In case of an error or warning, exception will be returned.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$credential = Get-Credential



PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert

PS C:\\> $SessionTimeout = Get-iBMCSessionTimeout -Session $session

PS C:\\> $SessionTimeout | fl



Host : 10.1.1.2

SessionTimeout : 600











RELATED LINKS

https://github.com/Huawei/Huawei-iBMC-Cmdlets



Get-iBMCSessionTimeout

Set-iBMCSessionTimeout

Connect-iBMC

Disconnect-iBMC

Test-iBMCConnect