< Back

Remove-NSPolicyToSystemGroup

Sat Jan 11, 2020 1:00 am

NAME Remove-NSPolicyToSystemGroup



SYNOPSIS

The remove-nspolicytosystemgroup unbinds a command policy to a systemgroup





SYNTAX

Remove-NSPolicyToSystemGroup [-groupname] <string> [-policyname] <string> [[-session] <nitro_service>]

[<CommonParameters>]





DESCRIPTION

The remove-nspolicytosystemgroup unbinds a command policy to a systemgroup. Use this to unassign different

permissions such as super user to groups.





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? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-groupname <string>

Specify the group name



Required? true

Position? 0

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



<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 name



System.String

Specify the policy name





OUTPUTS



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



remove-nspolicytosystemgroup -groupname "admins" -policyname "superuser"



removes 'superuser' permissions from group 'admin'



RELATED LINKS