# Set-RASAllowedDevicesSetting

## NAME

Set-RASAllowedDevicesSetting

## SYNOPSIS

Modifies the types of clients that are allowed to connect.

## SYNTAX

**Set-RASAllowedDevicesSetting** \[-[AllowClientAndroid](#AllowClientAndroid) _\<bool>_] \[-[AllowClientChromeApp](#AllowClientChromeApp) _\<bool>_] \[-[AllowClientIOS](#AllowClientIOS) _\<bool>_] \[-[AllowClientLinux](#AllowClientLinux) _\<bool>_] \[-[AllowClientMAC](#AllowClientMAC) _\<bool>_] \[-[AllowClientMode](#AllowClientMode) {AllowAllClientsConnectToSystem | AllowSelectedClientsConnectToSystem | AllowSelectedClientsListPublishedItems}] \[-[AllowClientWeb](#AllowClientWeb) _\<bool>_] \[-[AllowClientWindows](#AllowClientWindows) _\<bool>_] \[-[AllowClientWithSecurityPatchesOnly](#AllowClientWithSecurityPatchesOnly) _\<bool>_] \[-[AllowClientWyse](#AllowClientWyse) _\<bool>_] \[-[MinBuildAndroid](#MinBuildAndroid) _\<uint>_] \[-[MinBuildChromeApp](#MinBuildChromeApp) _\<uint>_] \[-[MinBuildIOS](#MinBuildIOS) _\<uint>_] \[-[MinBuildLinux](#MinBuildLinux) _\<uint>_] \[-[MinBuildMAC](#MinBuildMAC) _\<uint>_] \[-[MinBuildWeb](#MinBuildWeb) _\<uint>_] \[-[MinBuildWindows](#MinBuildWindows) _\<uint>_] \[-[MinBuildWyse](#MinBuildWyse) _\<uint>_] \[-[ReplicateSettings](#ReplicateSettings) _\<bool>_] \[-[SiteId](#SiteId) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

The cmdlet allows you to individually set permission of types of clients to connect.

## PARAMETERS

-**SiteId \<uint>**\
The site ID to which the allowed device settings refer.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientWithSecurityPatchesOnly \<bool>**\
Allow clients with security patches only.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientMode <**[**AllowClientMode**](../classes-and-enumerations/allowclientmode)**>**\
Set the permission mode for allowing types of clients.

Possible values: AllowAllClientsConnectToSystem, AllowSelectedClientsConnectToSystem, AllowSelectedClientsListPublishedItems

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientChromeApp \<bool>**\
Allow ChromeApp clients.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientAndroid \<bool>**\
Allow Android clients.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientWeb \<bool>**\
Allow Web clients.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientIOS \<bool>**\
Allow IOS clients.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientLinux \<bool>**\
Allow Linux clients.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientMAC \<bool>**\
Allow Mac clients.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientWindows \<bool>**\
Allow Windows clients.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**AllowClientWyse \<bool>**\
Allow Wyse clients.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**ReplicateSettings \<bool>**\
Enable/disable replication of settings to other sites.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**MinBuildChromeApp \<uint>**\
Represents the minimum build required for the Chromeapp client.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**MinBuildAndroid \<uint>**\
Represents the minimum build required for the Droid client.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**MinBuildWeb \<uint>**\
Represents the minimum build required for the Web client.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**MinBuildIOS \<uint>**\
Represents the minimum build required for the IOS client.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**MinBuildLinux \<uint>**\
Represents the minimum build required for the Linux client.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**MinBuildMAC \<uint>**\
Represents the minimum build required for the Mac client.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**MinBuildWindows \<uint>**\
Represents the minimum build required for the Windows client.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**MinBuildWyse \<uint>**\
Represents the minimum build required for the Wyse client.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        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

-none-

## OUTPUTS

[RASAllowedDevicesSetting](../classes-and-enumerations/rasalloweddevicessetting)

## EXAMPLES

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

Set-RASAllowedDevicesSetting -AllowClientMAC $false

Prohibits MAC clients to be connected.\
&#xNAN;**---------- EXAMPLE 2 ----------**

Set-RASAllowedDevicesSetting -AllowClientMode AllClientsConnectToSystem -AllowClientMACOS $false

Allows all clients to connect to the system, and prohibits MAC clients.

## RELATED LINKS

* [Get-RASAllowedDevicesSetting](get-rasalloweddevicessetting)
