Invoke ADCGetRewriteaction - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCGetRewriteaction

SYNOPSIS

Get Rewrite configuration object(s).

SYNTAX

GetAll (Default)

Invoke-ADCGetRewriteaction [-Filter <Hashtable>] [-GetAll] [-ViewSummary] [<CommonParameters>]

GetByResource

Invoke-ADCGetRewriteaction [-Name <String>] [-Filter <Hashtable>] [<CommonParameters>]

Count

Invoke-ADCGetRewriteaction [-Count] [-Filter <Hashtable>] [<CommonParameters>]

Get

Invoke-ADCGetRewriteaction [-Filter <Hashtable>] [-ViewSummary] [<CommonParameters>]

DESCRIPTION

Configuration for rewrite action resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCGetRewriteaction

Get data.

EXAMPLE 2

Invoke-ADCGetRewriteaction -GetAll

Get all rewriteaction data.

EXAMPLE 3

Invoke-ADCGetRewriteaction -Count

Get the number of rewriteaction objects.

EXAMPLE 4

Invoke-ADCGetRewriteaction -name <string>

Get rewriteaction object by specifying for example the name.

EXAMPLE 5

Invoke-ADCGetRewriteaction -Filter @{ 'name'='<value>' }

Get rewriteaction data with a filter.

PARAMETERS

-Name

Name for the user-defined rewrite action. 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. Can be changed after the rewrite policy is added.

Type: String
Parameter Sets: GetByResource
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Count

If specified, the count of the rewriteaction object(s) will be returned.

Type: SwitchParameter
Parameter Sets: Count
Aliases:

Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Filter

Specify a filter. -Filter @{ 'name'='<value>' }

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: @{ }
Accept pipeline input: False
Accept wildcard characters: False

-GetAll

Retrieve all rewriteaction object(s).

Type: SwitchParameter
Parameter Sets: GetAll
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ViewSummary

When specified, only a summary of information is returned.

Type: SwitchParameter
Parameter Sets: GetAll, Get
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

File Name : Invoke-ADCGetRewriteaction Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/rewrite/rewriteaction/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️