< Back

Set-NStcpProfile

Sat Jan 11, 2020 1:41 am

NAME Set-NStcpProfile



SYNOPSIS

The set-nstcpprofile command updates an existing tcp profile





SYNTAX

Set-NStcpProfile [[-profile] <nstcpprofile>] [[-session] <nitro_service>] [-returnobject <SwitchParameter>]

[<CommonParameters>]





DESCRIPTION

Update an existing tcp profile. Fetch the profile with get-nstcpprofile, make changes to the object and re-sumbit

using set-nstcpprofile





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? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-profile <nstcpprofile>

Specify the profile name



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-returnobject <SwitchParameter>

If set to true, the object that is created is returned. This is useful to testing purposes.



Required? false

Position? named

Default value False

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.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.ns.nstcpprofile

Specify the profile name



System.Management.Automation.SwitchParameter

If set to true, the object that is created is returned. This is useful to testing purposes.





OUTPUTS



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



set-nstcpprofile -profile $tcpprofile



update an tcp profile stored in the $tcpprofile variable



RELATED LINKS