< Back

Add-nsbulkobject

Fri Jan 10, 2020 9:33 pm

NAME Add-nsbulkobject



SYNOPSIS

The Add-NSbulkobjects binds bookmarks, policies, intranet applications to groups and vservers.





SYNTAX

Add-nsbulkobject -bookmarkobject <PSObject[]> -targettype <string> [-onerrorcontinue <bool>] [-session

<nitro_service>] [<CommonParameters>]



Add-nsbulkobject -intranetappobject <PSObject[]> -targettype <string> [-onerrorcontinue <bool>] [-session

<nitro_service>] [<CommonParameters>]



Add-nsbulkobject -policyobject <PSObject[]> -targettype <string> [-onerrorcontinue <bool>] [-session

<nitro_service>] [<CommonParameters>]





DESCRIPTION

Add objects in bulk. THe objects are to be provided in arrays of PSobjects. Specify the type of object based on

the parameter selected.





PARAMETERS

-session <nitro_service>

This 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



-onerrorcontinue <bool>

Specify how to handle errors during bulk imports. The default is to rollback changes (false). Setting this to

$true will continue the action.However, no feedback is provided regarding which import failed.



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-targettype <string>

Each PSObject must have a property 'target'. The targettype parameter specifies whether that target is a group

or a vpnvserver. Do not provide the name of the group or vserver. that must be provided in the objects.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-bookmarkobject <PSObject[]>

Specify a single or array of PSObjects. Required properites are name, target



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-intranetappobject <PSObject[]>

Specify a single or array of PSObjects. Required properites are name, target



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-policyobject <PSObject[]>

Specify a single or array of PSObjects. Required properites are name (policy name), priority and target. If

you are binding an authorization policy, also provide a property called type. Possible values for type are:

REQUEST, DNS_REQUEST, ICMP_REQUEST, UDP_REQUEST.



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, 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 parameter requires a nitro_service object. This can be requested using the get-nitrosession and pipelined

into this command.



System.Boolean

Specify how to handle errors during bulk imports. The default is to rollback changes (false). Setting this to

$true will continue the action.However, no feedback is provided regarding which import failed.



System.String

Each PSObject must have a property 'target'. The targettype parameter specifies whether that target is a group

or a vpnvserver. Do not provide the name of the group or vserver. that must be provided in the objects.



System.Management.Automation.PSObject[]

Specify a single or array of PSObjects. Required properites are name, target



System.Management.Automation.PSObject[]

Specify a single or array of PSObjects. Required properites are name, target



System.Management.Automation.PSObject[]

Specify a single or array of PSObjects. Required properites are name (policy name), priority and target. If

you are binding an authorization policy, also provide a property called type. Possible values for type are:

REQUEST, DNS_REQUEST, ICMP_REQUEST, UDP_REQUEST.





OUTPUTS





RELATED LINKS