< Back

Set-NSserver

Sat Jan 11, 2020 1:37 am

NAME Set-NSserver



SYNOPSIS





SYNTAX

Set-NSserver -serverToUpdate <server> [-returnobject <SwitchParameter>] [-session <nitro_service>] [-state

<string>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-serverToUpdate <server>



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

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

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-state <string>

Use the state parameter to enable or disable a service. Value is either 'ENABLED' or 'DISABLED'



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 updated 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.resource.config.basic.server



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

Use the state parameter to enable or disable a service. Value is either 'ENABLED' or 'DISABLED'



System.Management.Automation.SwitchParameter

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





OUTPUTS





RELATED LINKS