Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

EXAMPLES

Example 1

Set-RASClientPolicyAssignment 1 -Default Deny

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

PARAMETERS

-Default

Whether the default assignment is allow or deny.

Possible values: Deny, Allow

Type reference: DefaultAssignmentType

-Name

Name of the client policy to modify.

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

-Id

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

-InputObject

The client policy object to modify.

Type reference: ClientRules

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

ClientRules

OUTPUTS

None

Last updated