Invoke ADCAddRewritepolicylabel - j81blog/J81.ADCToolkit GitHub Wiki
Add Rewrite configuration Object.
Invoke-ADCAddRewritepolicylabel [-Labelname] <String> [-Transform] <String> [[-Comment] <String>] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]
Configuration for rewrite policy label resource.
Invoke-ADCAddRewritepolicylabel -labelname <string> -transform <string>
An example how to add rewritepolicylabel configuration Object(s).
Name for the rewrite policy label. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) hash (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the rewrite policy label is added.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseTypes of transformations allowed by the policies bound to the label. For Rewrite, the following types are supported:
- http_req - HTTP requests
- http_res - HTTP responses
- othertcp_req - Non-HTTP TCP requests
- othertcp_res - Non-HTTP TCP responses
- url - URLs
- text - Text strings
- clientless_vpn_req - Citrix ADC clientless VPN requests
- clientless_vpn_res - Citrix ADC clientless VPN responses
- sipudp_req - SIP requests
- sipudp_res - SIP responses
- diameter_req - DIAMETER requests
- diameter_res - DIAMETER responses
- radius_req - RADIUS requests
- radius_res - RADIUS responses
- dns_req - DNS requests
- dns_res - DNS responses. Possible values = http_req, http_res, othertcp_req, othertcp_res, url, text, clientless_vpn_req, clientless_vpn_res, sipudp_req, sipudp_res, siptcp_req, siptcp_res, diameter_req, diameter_res, radius_req, radius_res, dns_req, dns_res, httpquic_req, httpquic_res
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseAny comments to preserve information about this rewrite policy label.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseReturn details about the created rewritepolicylabel 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-ADCAddRewritepolicylabel Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/rewrite/rewritepolicylabel/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.