< Back
Set-iBMCSessionTimeout
Post
NAME Set-iBMCSessionTimeout
SYNOPSIS
Modify the iBMC session timeout period.
SYNTAX
Set-iBMCSessionTimeout [-Session] <RedfishSession[]> [-Timeout] <Int32[]> [<CommonParameters>]
DESCRIPTION
Modify 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
-Timeout <Int32[]>
Indicates the timeout of session timeout period in seconds.
Support integer value range: [30, 86400].
Required? true
Position? 2
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
Null
Returns Null 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:\\> Set-iBMCSessionTimeout -Session $session -Timeout 600
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCSessionTimeout
Set-iBMCSessionTimeout
Connect-iBMC
Disconnect-iBMC
Test-iBMCConnect
SYNOPSIS
Modify the iBMC session timeout period.
SYNTAX
Set-iBMCSessionTimeout [-Session] <RedfishSession[]> [-Timeout] <Int32[]> [<CommonParameters>]
DESCRIPTION
Modify 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
-Timeout <Int32[]>
Indicates the timeout of session timeout period in seconds.
Support integer value range: [30, 86400].
Required? true
Position? 2
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
Null
Returns Null 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:\\> Set-iBMCSessionTimeout -Session $session -Timeout 600
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCSessionTimeout
Set-iBMCSessionTimeout
Connect-iBMC
Disconnect-iBMC
Test-iBMCConnect