Invoke ADCAddNetprofile - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCAddNetprofile

SYNOPSIS

Add Network configuration Object.

SYNTAX

Invoke-ADCAddNetprofile [-Name] <String> [[-Td] <Double>] [[-Srcip] <String>] [[-Srcippersistency] <String>]
 [[-Overridelsn] <String>] [[-Mbf] <String>] [[-Proxyprotocol] <String>] [[-Proxyprotocoltxversion] <String>]
 [[-Proxyprotocolaftertlshandshake] <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Configuration for Network profile resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCAddNetprofile -name <string>

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

PARAMETERS

-Name

Name for the net profile. Must begin with a letter, number, or the underscore character (_), and can consist of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at sign (@), equals (=), colon (:), and underscore characters. Cannot be changed after the profile is created. Choose a name that helps identify the net profile.

Type: String
Parameter Sets: (All)
Aliases:

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

-Td

Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.

Type: Double
Parameter Sets: (All)
Aliases:

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

-Srcip

IP address or the name of an IP set.

Type: String
Parameter Sets: (All)
Aliases:

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

-Srcippersistency

When the net profile is associated with a virtual server or its bound services, this option enables the Citrix ADC to use the same address, specified in the net profile, to communicate to servers for all sessions initiated from a particular client to the virtual server. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

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

-Overridelsn

USNIP/USIP settings override LSN settings for configured service/virtual server traffic.. . Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

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

-Mbf

Response will be sent using learnt info if enabled. When creating a netprofile, if you do not set this parameter, the netprofile inherits the global MBF setting (available in the enable ns mode and disable ns mode CLI commands, or in the System > Settings > Configure modes > Configure Modes dialog box). However, you can override this setting after you create the netprofile. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

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

-Proxyprotocol

Proxy Protocol Action (Enabled/Disabled). 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

-Proxyprotocoltxversion

Proxy Protocol Version (V1/V2). Possible values = V1, V2

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: V1
Accept pipeline input: False
Accept wildcard characters: False

-Proxyprotocolaftertlshandshake

ADC doesnt look for proxy header before TLS handshake, if enabled. Proxy protocol parsed after TLS handshake. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

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

-PassThru

Return details about the created netprofile 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-ADCAddNetprofile Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/network/netprofile/ 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** ⚠️