Invoke ADCGetCsaction - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCGetCsaction

SYNOPSIS

Get Content Switching configuration object(s).

SYNTAX

GetAll (Default)

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

GetByResource

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

Count

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

Get

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

DESCRIPTION

Configuration for Content Switching action resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCGetCsaction

Get data.

EXAMPLE 2

Invoke-ADCGetCsaction -GetAll

Get all csaction data.

EXAMPLE 3

Invoke-ADCGetCsaction -Count

Get the number of csaction objects.

EXAMPLE 4

Invoke-ADCGetCsaction -name <string>

Get csaction object by specifying for example the name.

EXAMPLE 5

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

Get csaction data with a filter.

PARAMETERS

-Name

Name for the content switching action. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at sign (@), equal sign (=), and hyphen (-) characters. Can be changed after the content switching action is created.

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 csaction 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 csaction 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-ADCGetCsaction Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/cs/csaction/ 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** ⚠️