< Back

New-NSresponderpolicy

Sat Jan 11, 2020 12:28 am

NAME New-NSresponderpolicy



SYNOPSIS

The new-NSresponderpolicy creates a responder policy.





SYNTAX

New-NSresponderpolicy -action <string> -name <string> -rule <string> [-comment <string>] [-returnobject

<SwitchParameter>] [-session <nitro_service>] [<CommonParameters>]





DESCRIPTION

The new-NSresponderpolicy creates a responder policy.





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>

Specify the name of the action



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-comment <string>

Specify a comment



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-action <string>

Action to associate with the policy



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-rule <string>

Expression for the policy



Required? true

Position? named

Default value

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 action



System.String

Specify a comment



System.String

Action to associate with the policy



System.String

Expression for the policy



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.responder.responderpolicy







RELATED LINKS