Set-RASClientPolicyAssignment.md

NAME

Set-RASClientPolicyAssignment

SYNOPSIS

Modifies settings of the assignment within a client policy.

SYNTAX

**Set-RASClientPolicyAssignment [Id] (uint) [-Default {Deny | Allow}] [(CommonParameters)]

**Set-RASClientPolicyAssignment [-InputObject] (ClientRules) [-Default {Deny | Allow}] [(CommonParameters)]

**Set-RASClientPolicyAssignment [Name] (string) [-Default {Deny | Allow}] [(CommonParameters)]

DESCRIPTION

Modifies settings of the assignment within a client policy.

PARAMETERS

Default

(DefaultAssignmentType) Whether the default assignment is allow or deny.

Possible values: Deny, Allow

Name (string)

Name of the client policy to modify.

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

Id (uint)

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

InputObject (ClientRules)

The client policy object to modify.

(CommonParameters)

INPUTS

ClientRules

OUTPUTS

-none-

EXAMPLES

**---------- EXAMPLE 1 ----------

Set-RASClientPolicyAssignment 1 -Default Deny

Modifies the default assignment of a client policy specified by ID to Deny.

Last updated