< Back

Enable-NSservice

Fri Jan 10, 2020 9:46 pm

NAME Enable-NSservice



SYNOPSIS





SYNTAX

Enable-NSservice [[-name] <string[]>] [-maxWaitUntilComplete <int>] [-session <nitro_service>] [-WaitInterval

<int>] [-WaitUntilComplete <SwitchParameter>] [<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



-name <string[]>



Required? false

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-WaitUntilComplete <SwitchParameter>

Lock the command until the services have been started. With the verbose switch, the progress is shown.



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-WaitInterval <int>

interval in seconds. When using 'WaitUntilComplete', the command will poll the status of the services, this

interval controls how often.Default is 15 seconds.



Required? false

Position? named

Default value 5

Accept pipeline input? false

Accept wildcard characters? false



-maxWaitUntilComplete <int>

maximum runtime for this command, in seconds. Once this expires, the command will error out. this is mainly

intended to be used with "waituntilcomplete" to avoid the command never completing.



Required? false

Position? named

Default value 0

Accept pipeline input? false

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[]



System.Management.Automation.SwitchParameter

Lock the command until the services have been started. With the verbose switch, the progress is shown.





OUTPUTS

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







RELATED LINKS