Invoke ADCUnsetService - j81blog/J81.ADCToolkit GitHub Wiki
Unset Basic configuration Object.
Invoke-ADCUnsetService [[-Name] <String>] [[-maxclient] <Boolean>] [[-maxreq] <Boolean>]
[[-cacheable] <Boolean>] [[-cip] <Boolean>] [[-usip] <Boolean>] [[-pathmonitor] <Boolean>]
[[-pathmonitorindv] <Boolean>] [[-useproxyport] <Boolean>] [[-sp] <Boolean>] [[-rtspsessionidremap] <Boolean>]
[[-customserverid] <Boolean>] [[-serverid] <Boolean>] [[-cka] <Boolean>] [[-tcpb] <Boolean>]
[[-cmp] <Boolean>] [[-maxbandwidth] <Boolean>] [[-accessdown] <Boolean>] [[-monthreshold] <Boolean>]
[[-clttimeout] <Boolean>] [[-svrtimeout] <Boolean>] [[-tcpprofilename] <Boolean>]
[[-httpprofilename] <Boolean>] [[-contentinspectionprofilename] <Boolean>] [[-hashid] <Boolean>]
[[-appflowlog] <Boolean>] [[-netprofile] <Boolean>] [[-processlocal] <Boolean>] [[-dnsprofilename] <Boolean>]
[[-monconnectionclose] <Boolean>] [[-cipheader] <Boolean>] [[-healthmonitor] <Boolean>]
[[-downstateflush] <Boolean>] [[-comment] <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
Configuration for service resource.
Invoke-ADCUnsetService -name <string>
An example how to unset service configuration Object(s).
Name for the service. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the service has been created.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseMaximum number of simultaneous open connections to the service.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseMaximum number of requests that can be sent on a persistent connection to the service. Note: Connection requests beyond this value are rejected.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseUse the transparent cache redirection virtual server to forward requests to the cache server. Note: Do not specify this parameter if you set the Cache Type parameter. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseBefore forwarding a request to the service, insert an HTTP header with the client's IPv4 or IPv6 address as its value. Used if the server needs the client's IP address for security, accounting, or other purposes, and setting the Use Source IP parameter is not a viable option. Possible values = ENABLED, DISABLED
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseUse the client's IP address as the source IP address when initiating a connection to the server. When creating a service, if you do not set this parameter, the service inherits the global Use Source IP setting (available in the enable ns mode and disable ns mode CLI commands, or in the System > Settings > Configure modes > Configure Modes dialog box). However, you can override this setting after you create the service. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalsePath monitoring for clustering. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseIndividual Path monitoring decisions. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseUse the proxy port as the source port when initiating connections with the server. With the NO setting, the client-side connection port is used as the source port for the server-side connection. Note: This parameter is available only when the Use Source IP (USIP) parameter is set to YES. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseEnable surge protection for the service. Possible values = ON, OFF
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseEnable RTSP session ID mapping for the service. Possible values = ON, OFF
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseUnique identifier for the service. Used when the persistency type for the virtual server is set to Custom Server ID.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThe identifier for the service. This is used when the persistency type is set to Custom Server ID.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 14
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseEnable client keep-alive for the service. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 15
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseEnable TCP buffering for the service. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 16
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseEnable compression for the service. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 17
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseMaximum bandwidth, in Kbps, allocated to the service.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 18
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseUse Layer 2 mode to bridge the packets sent to this service if it is marked as DOWN. If the service is DOWN, and this parameter is disabled, the packets are dropped. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 19
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseMinimum sum of weights of the monitors that are bound to this service. Used to determine whether to mark a service as UP or DOWN.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 20
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseTime, in seconds, after which to terminate an idle client connection.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 21
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseTime, in seconds, after which to terminate an idle server connection.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 22
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseName of the TCP profile that contains TCP configuration settings for the service.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 23
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseName of the HTTP profile that contains HTTP configuration settings for the service.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 24
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseName of the ContentInspection profile that contains IPS/IDS communication related setting for the service.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 25
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseA numerical identifier that can be used by hash based load balancing methods. Must be unique for each service.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 26
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseEnable logging of AppFlow information. Possible values = ENABLED, DISABLED
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 27
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseNetwork profile to use for the service.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 28
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseBy turning on this option packets destined to a service in a cluster will not under go any steering. Turn this option for single packet request response mode or when the upstream device is performing a proper RSS for connection based distribution. Possible values = ENABLED, DISABLED
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 29
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseName of the DNS profile to be associated with the service. DNS profile properties will applied to the transactions processed by a service. This parameter is valid only for ADNS and ADNS-TCP services.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 30
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseClose monitoring connections by sending the service a connection termination message with the specified bit set. Possible values = RESET, FIN
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 31
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseName for the HTTP header whose value must be set to the IP address of the client. Used with the Client IP parameter. If you set the Client IP parameter, and you do not specify a name for the header, the appliance uses the header name specified for the global Client IP Header parameter (the cipHeader parameter in the set ns param CLI command or the Client IP Header parameter in the Configure HTTP Parameters dialog box at System > Settings > Change HTTP parameters). If the global Client IP Header parameter is not specified, the appliance inserts a header with the name "client-ip.".
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 32
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseMonitor the health of this service. Available settings function as follows: YES - Send probes to check the health of the service. NO - Do not send probes to check the health of the service. With the NO option, the appliance shows the service as UP at all times. Possible values = YES, NO
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 33
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseFlush all active transactions associated with a service whose state transitions from UP to DOWN. Do not enable this option for applications that must complete their transactions. Possible values = ENABLED, DISABLED
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 34
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseAny information about the service.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 35
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-ADCUnsetService Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/basic/service Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.