< Back

Remove-NSnameserver

Sat Jan 11, 2020 12:59 am

NAME Remove-NSnameserver



SYNOPSIS

The remove-nsnameserver removes a the nameservers





SYNTAX

Remove-NSnameserver [[-session] <nitro_service>] [-nameserver] <dnsnameserver> [<CommonParameters>]



Remove-NSnameserver [[-session] <nitro_service>] [-ip] <string> [<CommonParameters>]





DESCRIPTION

use remove-nsnameserver removes for nameservers





PARAMETERS

-nameserver <dnsnameserver>

Specify a dns name server object as returned by get-nsnameserver.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-session <nitro_service>

This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and

pipelined into this command.



Required? false

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ip <string>

Specify the IP address of the name server to remove.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

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

com.citrix.netscaler.nitro.resource.config.dns.dnsnameserver

Specify a dns name server object as returned by get-nsnameserver.



com.citrix.netscaler.nitro.service.nitro_service

This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and

pipelined into this command.



System.String

Specify the IP address of the name server to remove.





OUTPUTS

com.citrix.netscaler.nitro.resource.config.dns.dnsnameserver





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



remove-nsnameserver -ip "10.123.45.6"



remove nameserver 10.123.45.6

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



remove-nsnameserver -nameserver $server



remove nameserver specified by the $server object



RELATED LINKS