< Back

Remove-NsxDns

Sat Jan 18, 2020 9:20 pm

NAME Remove-NsxDns



SYNOPSIS

Remove the global DNS configuration of an existing NSX Edge Services

Gateway.





SYNTAX

Remove-NsxDns [-DNS] <XmlElement> [-NoConfirm] [-Connection <PSObject>] [<CommonParameters>]



Remove-NsxDns [-DNS] <XmlElement> [-Confirm] [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

An NSX Edge Service Gateway provides all NSX Edge services such as firewall,

NAT, DHCP, VPN, load balancing, and high availability.



The NSX Edge DNS add DNS server (relay) on the Edge



The Remove-NsxDns cmdlet unconfigures the global DNS configuration of

the specified Edge Services Gateway.





PARAMETERS

-DNS <XmlElement>

NSX Edge DNS to remove



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompt for confirmation. Specify as -confirm:$false to disable confirmation prompt



Required? false

Position? named

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-NoConfirm [<SwitchParameter>]

Disable Prompt for confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? named

Default value $defaultNSXConnection

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxDNS | Remove-NsxDns



Remove all NSX DNS configuration with confirmation









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxDNS | Remove-NsxDns -NoConfirm:$true



Remove all NSX DNS configuration without confirmation











RELATED LINKS