< Back

Remove-NSpolicytoGroup

Sat Jan 11, 2020 1:00 am

NAME Remove-NSpolicytoGroup



SYNOPSIS

The remove-NSpolicytogroup unbinds an policy (or intranet IP, intranet application, bookmark) from a aaa group





SYNTAX

Remove-NSpolicytoGroup [-group] <string> -policyname <string> [-session <nitro_service>] [-type <string>]

[<CommonParameters>]



Remove-NSpolicytoGroup [-group] <string> -netmask <string> -network <string> [-session <nitro_service>]

[<CommonParameters>]



Remove-NSpolicytoGroup [-group] <string> -bookmark <string> [-session <nitro_service>] [<CommonParameters>]



Remove-NSpolicytoGroup [-group] <string> -intranetapplication <string> [-session <nitro_service>]

[<CommonParameters>]





DESCRIPTION

Use this cmdlet to unbound policies, bookmarks, intranet IP, intranet applications from aaa groups. AAA groups are

used by VPN as well as the AAA functionality.





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



-group <string>

Specify the group. This is mandatory.



Required? true

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-policyname <string>

Specify the policy.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-type <string>

Specify the network for the intranet IPs. You must also provide the netmask



Specify the type. This is only used for authorization policies.Possible values = REQUEST, UDP_REQUEST,

DNS_REQUEST, ICMP_REQUEST. Only used by NetScalers version 12.0.56.20 and above.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-network <string>



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-netmask <string>

Specify the netmask for the intranet IPs. You must also provide the network



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-bookmark <string>

Specify the bookmark using the bookmark name. .



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-intranetapplication <string>

Specify the intranet application using the name.



Required? true

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 group. This is mandatory.



System.String

Specify the policy.



System.String

Specify the network for the intranet IPs. You must also provide the netmask



Specify the type. This is only used for authorization policies.Possible values = REQUEST, UDP_REQUEST,

DNS_REQUEST, ICMP_REQUEST. Only used by NetScalers version 12.0.56.20 and above.



System.String



System.String

Specify the netmask for the intranet IPs. You must also provide the network



System.String

Specify the bookmark using the bookmark name. .



System.String

Specify the intranet application using the name.





OUTPUTS



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



adding a policyremove-nspolicytogroup -group "vpnusers" -policyname "proxy-tpol" -priority 100



adding a intranet IPs



remove-nspolicytogroup -group "vpnusers" -network "172.16.0.0" -netmask "255.255.255.0"



adding a bookmark



remove-nspolicytogroup -group "vpnusers" -bookmark "bookmark1"



adding an intranet application



remove-nspolicytogroup -group "vpnusers" -intranetapplication "testapp"



RELATED LINKS