Invoke ADCAddTmsessionaction - j81blog/J81.ADCToolkit GitHub Wiki
Add Traffic Management configuration Object.
Invoke-ADCAddTmsessionaction [-Name] <String> [[-Sesstimeout] <Double>]
[[-Defaultauthorizationaction] <String>] [[-Sso] <String>] [[-Ssocredential] <String>] [[-Ssodomain] <String>]
[[-Httponlycookie] <String>] [[-Kcdaccount] <String>] [[-Persistentcookie] <String>]
[[-Persistentcookievalidity] <Double>] [[-Homepage] <String>] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]
Configuration for TM session action resource.
Invoke-ADCAddTmsessionaction -name <string>
An example how to add tmsessionaction configuration Object(s).
Name for the session action. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after a session action is created.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSession timeout, in minutes. If there is no traffic during the timeout period, the user is disconnected and must reauthenticate to access intranet resources.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseAllow or deny access to content for which there is no specific authorization policy. Possible values = ALLOW, DENY
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseUse single sign-on (SSO) to log users on to all web applications automatically after they authenticate, or pass users to the web application logon page to authenticate to each application individually. Note that this configuration does not honor the following authentication types for security reason. BASIC, DIGEST, and NTLM (without Negotiate NTLM2 Key or Negotiate Sign Flag). Use TM TrafficAction to configure SSO for these authentication types. Possible values = ON, OFF
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: OFF
Accept pipeline input: False
Accept wildcard characters: FalseUse the primary or secondary authentication credentials for single sign-on (SSO). Possible values = PRIMARY, SECONDARY
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDomain to use for single sign-on (SSO).
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseAllow only an HTTP session cookie, in which case the cookie cannot be accessed by scripts. Possible values = YES, NO
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: YES
Accept pipeline input: False
Accept wildcard characters: FalseKerberos constrained delegation account name.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnable or disable persistent SSO cookies for the traffic management (TM) session. A persistent cookie remains on the user device and is sent with each HTTP request. The cookie becomes stale if the session ends. This setting is overwritten if a traffic action sets persistent cookie to OFF. Note: If persistent cookie is enabled, make sure you set the persistent cookie validity. Possible values = ON, OFF
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseInteger specifying the number of minutes for which the persistent cookie remains valid. Can be set only if the persistent cookie setting is enabled.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseWeb address of the home page that a user is displayed when authentication vserver is bookmarked and used to login.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseReturn details about the created tmsessionaction item.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
File Name : Invoke-ADCAddTmsessionaction Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/tm/tmsessionaction/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.