New-RASClientPolicy

NAME

New-RASClientPolicy

SYNOPSIS

Adds a new client policy.

SYNTAX

New-RASClientPolicy [-Namearrow-up-right] <string> [-Accountarrow-up-right <string>] [-AllowClientAndroidarrow-up-right <bool>] [-AllowClientChromearrow-up-right <bool>] [-AllowClientHTML5arrow-up-right <bool>] [-AllowClientIOSarrow-up-right <bool>] [-AllowClientLinuxarrow-up-right <bool>] [-AllowClientMACarrow-up-right <bool>] [-AllowClientWindowsarrow-up-right <bool>] [-AllowClientWysearrow-up-right <bool>] [-Descriptionarrow-up-right <string>] [-Enabledarrow-up-right <bool>] [-GatewayRulearrow-up-right {Any | AnyGW | Connected | ConnectedToGWs | NotConnected | NotConnectedToGWs}] [-MACRulearrow-up-right {AnyMAC | AllowedMACs | NotAllowedMACs}] [-SIDarrow-up-right <string>] [<CommonParametersarrow-up-right>]

DESCRIPTION

Adds a new client policy.

PARAMETERS

-Name <string> Name of the new client policy.

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

-Enabled <bool> Whether the new client policy will be enabled or disabled.

-Description <string> Description for the new client policy.

-GatewayRule <GatewayRuleTypearrow-up-right> Gateway criteria. Use one of the following options: 0 = if Client is connected to any gateway 1 = if Client is connected to one of the following gateways 2 = if Client is not connected to one of the following gateways Possible values: Any, AnyGW, Connected, ConnectedToGWs, NotConnected, NotConnectedToGWs

-MACRule <MACRuleTypearrow-up-right> MAC address criteria. Use one of the following options: 0 = to any MAC address 1 = if the Client's MAC address is one of the following 2 = if the Client's MAC address is not one of the following Possible values: AnyMAC, AllowedMACs, NotAllowedMACs

-AllowClientChrome <bool> Allow Chrome OS clients.

-AllowClientAndroid <bool> Allow Android clients.

-AllowClientHTML5 <bool> Allow Web clients.

-AllowClientIOS <bool> Allow IOS clients.

-AllowClientLinux <bool> Allow Linux clients.

-AllowClientMAC <bool> Allow Mac clients.

-AllowClientWindows <bool> Allow Windows clients.

-AllowClientWyse <bool> Allow Wyse clients.

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

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

<CommonParameters>

INPUTS

-none-

OUTPUTS

ClientRulesarrow-up-right

EXAMPLES

---------- EXAMPLE 1 ---------- New-RASClientPolicy -Name PDFPolicy Adds a new client policy named as PDFPolicy. ---------- EXAMPLE 2 ---------- New-RASClientPolicy -Name UserGroupPolicy -Enable $False -Description 'For the User Groups' Adds a new client policy named as UserGroupPolicy which is disabled and has a description of 'For the User Groups'.

Last updated