Invoke ADCGetPolicymap - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCGetPolicymap

SYNOPSIS

Get Policy configuration object(s).

SYNTAX

GetAll (Default)

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

GetByResource

Invoke-ADCGetPolicymap [-Mappolicyname <String>] [-Filter <Hashtable>] [<CommonParameters>]

Count

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

Get

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

DESCRIPTION

Configuration for map policy resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCGetPolicymap

Get data.

EXAMPLE 2

Invoke-ADCGetPolicymap -GetAll

Get all policymap data.

EXAMPLE 3

Invoke-ADCGetPolicymap -Count

Get the number of policymap objects.

EXAMPLE 4

Invoke-ADCGetPolicymap -name <string>

Get policymap object by specifying for example the name.

EXAMPLE 5

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

Get policymap data with a filter.

PARAMETERS

-Mappolicyname

Name for the map policy. Must begin with a letter, number, or the underscore () character and must consist only of letters, numbers, and the hash (#), period (.), colon (:), space ( ), at (@), equals (=), hyphen (-), and underscore () characters. CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my map" or 'my map').

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