< Back
Set-NStimezone
Post
NAME Set-NStimezone
SYNOPSIS
The set-nstimezone command gets sets the timezone for the netscaler.
SYNTAX
Set-NStimezone [[-session] <nitro_service>] [[-timezone] <string>] [<CommonParameters>]
DESCRIPTION
Use the set-nstimezone command to set the timezone of the NetScaler. Requires a nitro_service object and a string
containing the timezone.
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? 0
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-timezone <string>
Provide the timezone as a string, similar to how it would be presented in the ns.conf. ex.
"GMT+11:00-AEDT-Australia/Sydney"
Required? false
Position? 1
Default value
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
Provide the timezone as a string, similar to how it would be presented in the ns.conf. ex.
"GMT+11:00-AEDT-Australia/Sydney"
OUTPUTS
com.citrix.netscaler.nitro.resource.config.ns.nsconfig
---------- EXAMPLE 1 ----------
set-nstimezone -timezone "GMT+11:00-AEDT-Australia/Sydney"
set the timezone.
RELATED LINKS
SYNOPSIS
The set-nstimezone command gets sets the timezone for the netscaler.
SYNTAX
Set-NStimezone [[-session] <nitro_service>] [[-timezone] <string>] [<CommonParameters>]
DESCRIPTION
Use the set-nstimezone command to set the timezone of the NetScaler. Requires a nitro_service object and a string
containing the timezone.
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? 0
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-timezone <string>
Provide the timezone as a string, similar to how it would be presented in the ns.conf. ex.
"GMT+11:00-AEDT-Australia/Sydney"
Required? false
Position? 1
Default value
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
Provide the timezone as a string, similar to how it would be presented in the ns.conf. ex.
"GMT+11:00-AEDT-Australia/Sydney"
OUTPUTS
com.citrix.netscaler.nitro.resource.config.ns.nsconfig
---------- EXAMPLE 1 ----------
set-nstimezone -timezone "GMT+11:00-AEDT-Australia/Sydney"
set the timezone.
RELATED LINKS