Remove-RASClientPolicyUserGroup

NAME

Remove-RASClientPolicyUserGroup

SYNOPSIS

Removes a user/group from the user group list of a client policy.

SYNTAX

Remove-RASClientPolicyUserGroup [-Name] <string> [-Account <string>] [-SID <string>] [<CommonParameters>]

Remove-RASClientPolicyUserGroup [-Id] <uint> [-Account <string>] [-SID <string>] [<CommonParameters>]

Remove-RASClientPolicyUserGroup [-InputObject] <ClientRules> [-Account <string>] [-SID <string>] [<CommonParameters>]

DESCRIPTION

Removes a user/group from the user group list of a client policy.

PARAMETERS


-Account <string>
The name of the user/group account.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SID <string>
The SID of the user/group account.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string>
Name of the client policy to modify.

This must be the actual client policy name used in the RAS farm.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint>
The ID of the client policy to modify. To obtain the ID, use the Get-RASClientPolicy cmdlet.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <ClientRules>
The client policy object to modify.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        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 documentation. 

INPUTS

ClientRules

OUTPUTS

-none-

EXAMPLES


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

Remove-RASClientPolicyUserGroup -Name Policy -Account "JaneDoe"

Removes a user from the user group list of the client policy with name Policy.

---------- EXAMPLE 2 ----------

Remove-RASClientPolicyUserGroup -Id 1 -Account "SID://DOMAIN/JaneDoe"

Removes a user from the user group list of the client policy with Id 1.

RELATED LINKS