< Back

Add-NSserverToServiceGroup

Fri Jan 10, 2020 9:41 pm

NAME Add-NSserverToServiceGroup



SYNOPSIS





SYNTAX

Add-NSserverToServiceGroup -port <ushort> -server <string> -servicegroup <string> [-returnobject

<SwitchParameter>] [-serverid <uint>] [-session <nitro_service>] [-weight <uint>] [<CommonParameters>]



Add-NSserverToServiceGroup -ip <string> -port <ushort> -servicegroup <string> [-returnobject <SwitchParameter>]

[-serverid <uint>] [-session <nitro_service>] [-weight <uint>] [<CommonParameters>]





DESCRIPTION





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 (ByPropertyName)

Accept wildcard characters? false



-servicegroup <string>

Specify the name of the service group



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-server <string>

Specify the name the server, use instead of the IP address



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ip <string>

Specify the IP address. Use instead of the server name.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-port <ushort>

Specify the port



Required? true

Position? named

Default value 0

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-serverid <uint>

Specify the server id. optional



Required? false

Position? named

Default value 0

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-weight <uint>

Specify the weight of the binding. default is 1



Required? false

Position? named

Default value 1

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 service group



System.String

Specify the name the server, use instead of the IP address



System.String

Specify the IP address. Use instead of the server name.



System.UInt16

Specify the port



System.UInt32

Specify the server id. optional



System.UInt32

Specify the weight of the binding. default is 1



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_servicegroupmember_binding







RELATED LINKS