< Back

Add-NSSyslogPolicyToGlobal

Fri Jan 10, 2020 9:42 pm

NAME Add-NSSyslogPolicyToGlobal



SYNOPSIS

The add-nssyslogpolicytoglobal command is used to bind global policies such as authentication policies.





SYNTAX

Add-NSSyslogPolicyToGlobal [-policyname] <string> [[-priority] <uint>] [-globalbindtype <string>] [-session

<nitro_service>] [<CommonParameters>]





DESCRIPTION

Use for global bindings.





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



-policyname <string>

Specify the policy name



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-priority <uint>

Specify the priority



Required? false

Position? 1

Default value 0

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-globalbindtype <string>

Specify the global bind type,. Require for advanced policies.



Required? false

Position? named

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

Specify the policy name



System.UInt32

Specify the priority



System.String

Specify the global bind type,. Require for advanced policies.





OUTPUTS



---------- EXAMPLE 1 ----------



add-nspolicytoglobal -policyname "ldap-pol" -priority 100



Assign the ldap-pol policy to global



RELATED LINKS