< Back
Set-ArubaSWRestSessionTimeout
Post
NAME Set-ArubaSWRestSessionTimeout
SYNOPSIS
Set REST Session Timeout when you connect to a switch
SYNTAX
Set-ArubaSWRestSessionTimeout [-timeout] <Int32> [-connection <PSObject>] [<CommonParameters>]
DESCRIPTION
Set REST Session Timeout
PARAMETERS
-timeout <Int32>
Required? true
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-connection <PSObject>
Required? false
Position? named
Default value $DefaultArubaSWConnection
Accept pipeline input? false
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-ArubaSWRestSessionTimeout 1200
This function allow you to set idle time (in seconds) before being disconnected.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-ArubaSWRestSessionTimeout -timeout 120
This function allow you to set idle time (in seconds) before being disconnected with the parameter timeout.
RELATED LINKS
SYNOPSIS
Set REST Session Timeout when you connect to a switch
SYNTAX
Set-ArubaSWRestSessionTimeout [-timeout] <Int32> [-connection <PSObject>] [<CommonParameters>]
DESCRIPTION
Set REST Session Timeout
PARAMETERS
-timeout <Int32>
Required? true
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-connection <PSObject>
Required? false
Position? named
Default value $DefaultArubaSWConnection
Accept pipeline input? false
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-ArubaSWRestSessionTimeout 1200
This function allow you to set idle time (in seconds) before being disconnected.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-ArubaSWRestSessionTimeout -timeout 120
This function allow you to set idle time (in seconds) before being disconnected with the parameter timeout.
RELATED LINKS