< Back

New-NSServiceGroup

Sat Jan 11, 2020 12:35 am

NAME New-NSServiceGroup



SYNOPSIS

The new-nsservicegroup command creates a service group object in the netscaler.





SYNTAX

New-NSServiceGroup -name <string> -type <string> [-appflowlog <string>] [-clientip <string>] [-clientkeepalives

<string>] [-comment <string>] [-downstateflush <string>] [-header <string>] [-healthmonitor <string>]

[-httpcompression <string>] [-returnobject <SwitchParameter>] [-session <nitro_service>] [-state <string>]

[-sureconnect <string>] [-surgeprotection <string>] [-tcpbuffering <string>] [-useclientip <string>]

[-useproxyport <string>] [<CommonParameters>]





DESCRIPTION

The new-nsservicegroup command is used to create new service group object in the netscaler.





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

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-name <string>

Specify the name of the server object.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-type <string>

Specify the service type for the group. Possible values are: HTTP, FTP, TCP, UDP, SSL, SSL_BRIDGE, SSL_TCP,

DTLS, NNTP, RPCSVR, DNS, ADNS, SNMP, RTSP, DHCPRA, ANY, SIP_UDP, SIP_TCP, SIP_SSL, DNS_TCP, ADNS_TCP, MYSQL,

MSSQL, ORACLE, RADIUS, RADIUSListener, RDP, DIAMETER, SSL_DIAMETER, TFTP, SMPP, PPTP, GRE, SYSLOGTCP,

SYSLOGUDP, FIX, SSL_FIX, USER_TCP, USER_SSL_TCP, QUIC



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-state <string>



Required? false

Position? named

Default value ENABLED

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-healthmonitor <string>

Specify if healthmonitoring should be enabled. Default is yes.



Required? false

Position? named

Default value YES

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-appflowlog <string>



Required? false

Position? named

Default value ENABLED

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-sureconnect <string>



Required? false

Position? named

Default value OFF

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-surgeprotection <string>



Required? false

Position? named

Default value OFF

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-useproxyport <string>

With the NO setting, the client-side connection port is used as the source port for the server-side

connection. Note: This parameter is available only when the Use Source IP(USIP) parameter is set to YES.



Required? false

Position? named

Default value YES

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-downstateflush <string>



Required? false

Position? named

Default value ENABLED

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-useclientip <string>



Required? false

Position? named

Default value NO

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-clientkeepalives <string>

Enable client keep alives.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-tcpbuffering <string>



Required? false

Position? named

Default value NO

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-httpcompression <string>



Required? false

Position? named

Default value NO

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-clientip <string>



Required? false

Position? named

Default value DISABLED

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-header <string>

Client header. Only used if clientip is set to ENABLED



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-comment <string>

Specify any comment you want to store with the object. Optional.



Required? false

Position? named

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.



System.String

Specify the name of the server object.



System.String

Specify the service type for the group. Possible values are: HTTP, FTP, TCP, UDP, SSL, SSL_BRIDGE, SSL_TCP,

DTLS, NNTP, RPCSVR, DNS, ADNS, SNMP, RTSP, DHCPRA, ANY, SIP_UDP, SIP_TCP, SIP_SSL, DNS_TCP, ADNS_TCP, MYSQL,

MSSQL, ORACLE, RADIUS, RADIUSListener, RDP, DIAMETER, SSL_DIAMETER, TFTP, SMPP, PPTP, GRE, SYSLOGTCP,

SYSLOGUDP, FIX, SSL_FIX, USER_TCP, USER_SSL_TCP, QUIC



System.String



System.String

Specify if healthmonitoring should be enabled. Default is yes.



System.String



System.String



System.String



System.String

With the NO setting, the client-side connection port is used as the source port for the server-side

connection. Note: This parameter is available only when the Use Source IP(USIP) parameter is set to YES.



System.String



System.String



System.String

Enable client keep alives.



System.String



System.String



System.String



System.String

Client header. Only used if clientip is set to ENABLED



System.String

Specify any comment you want to store with the object. Optional.



System.Management.Automation.SwitchParameter

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





OUTPUTS

com.citrix.netscaler.nitro.resource.config.basic.servicegroup







RELATED LINKS