Invoke ADCAddPcpprofile - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCAddPcpprofile

SYNOPSIS

Add Pcp configuration Object.

SYNTAX

Invoke-ADCAddPcpprofile [-Name] <String> [[-Mapping] <String>] [[-Peer] <String>] [[-Minmaplife] <Double>]
 [[-Maxmaplife] <Double>] [[-Announcemulticount] <Double>] [[-Thirdparty] <String>] [-PassThru] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Configuration for PCP Profile resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCAddPcpprofile -name <string>

An example how to add pcpprofile configuration Object(s).

PARAMETERS

-Name

Name for the PCP Profile. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my pcpProfile" or my pcpProfile).

Type: String
Parameter Sets: (All)
Aliases:

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

-Mapping

This argument is for enabling/disabling the MAP opcode of current PCP Profile. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: False

-Peer

This argument is for enabling/disabling the PEER opcode of current PCP Profile. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: False

-Minmaplife

Integer value that identify the minimum mapping lifetime (in seconds) for a pcp profile. default(120s).

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Maxmaplife

Integer value that identify the maximum mapping lifetime (in seconds) for a pcp profile. default(86400s = 24Hours).

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Announcemulticount

Integer value that identify the number announce message to be send.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: 10
Accept pipeline input: False
Accept wildcard characters: False

-Thirdparty

This argument is for enabling/disabling the THIRD PARTY opcode of current PCP Profile. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Return details about the created pcpprofile item.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-WhatIf

Shows 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: False

-Confirm

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