Invoke ADCDisableDnsnameserver - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCDisableDnsnameserver

SYNOPSIS

Disable Domain Name Service configuration Object.

SYNTAX

Invoke-ADCDisableDnsnameserver [[-Ip] <String>] [[-Dnsvservername] <String>] [[-Type] <String>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Configuration for name server resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCDisableDnsnameserver

An example how to disable dnsnameserver configuration Object(s).

PARAMETERS

-Ip

IP address of an external name server or, if the Local parameter is set, IP address of a local DNS server (LDNS).

Type: String
Parameter Sets: (All)
Aliases:

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

-Dnsvservername

Name of a DNS virtual server. Overrides any IP address-based name servers configured on the Citrix ADC.

Type: String
Parameter Sets: (All)
Aliases:

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

-Type

Protocol used by the name server. UDP_TCP is not valid if the name server is a DNS virtual server configured on the appliance. Possible values = UDP, TCP, UDP_TCP

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
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-ADCDisableDnsnameserver Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/dns/dnsnameserver/ 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** ⚠️