< Back

Remove-NSroute

Sat Jan 11, 2020 1:03 am

NAME Remove-NSroute



SYNOPSIS

The remove-nsroute allows for deletion of route objects





SYNTAX

Remove-NSroute [[-session] <nitro_service>] [-nsroute] <route[]> [<CommonParameters>]





DESCRIPTION

Use remove-nsroute to delete a route. The route must be stored in an object such as what you get from get-nsroute.

This command will accept an array.





PARAMETERS

-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



-nsroute <route[]>

Provide the route to delete as a route object



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

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.service.nitro_service

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

pipelined into this command.



com.citrix.netscaler.nitro.resource.config.network.route[]

Provide the route to delete as a route object





OUTPUTS



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



remove-nsroute $route



Remove the route stored in the $route object (can be an array).



RELATED LINKS