# Set-RASAuthSettings

### NAME

Set-RASAuthSettings\ <br>

### SYNOPSIS

Updates connection settings for authentication.\ <br>

### SYNTAX

Set-RASAuthSettings \[\[-[AuthType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#AuthType)] {UsernamePassword | SmartCard | Web | UsernamePasswordOrSmartCard}] \[-[AllTrustedDomains](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#AllTrustedDomains) *\<bool>*] \[-[ChangePasswordURL](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#ChangePasswordURL) *\<string>*] \[-[Domain](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#Domain) *\<string>*] \[-[ForceNetBIOSCreds](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#ForceNetBIOSCreds) *\<bool>*] \[-[ReplicateSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#ReplicateSettings) *\<bool>*] \[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#SiteId) *\<uint>*] \[-[UseChangePasswordURL](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#UseChangePasswordURL) *\<bool>*] \[-[UseClientDomain](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#UseClientDomain) *\<bool>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAuthSettings.html#CommonParameters)*>*]\ <br>

### DESCRIPTION

Updates all of the connection settings for authentication. All parameters are optional, but at least one has to be present.\ <br>

### PARAMETERS

\
-**AuthType <**[**AuthenticationTypes**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AuthenticationTypes.html)**>**\
Represents the type of authentication.\
\
Possible values: UsernamePassword, SmartCard, Web, WebCredentials,  UsernamePasswordOrSmartCard, \ <br>

```
        Required?                    false
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AllTrustedDomains \<bool>**\
Whether to use all trusted domains.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SiteId \<uint>**\
The site ID to which the RAS authentication settings refer.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Domain \<string>**\
Domain name.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**UseClientDomain \<bool>**\
Whether to use the client domain, if specified.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ForceNetBIOSCreds \<bool>**\
Whether to force clients to use NetBIOS credentials.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ReplicateSettings \<bool>**\
Whether to replicate settings to other sites.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**UseChangePasswordURL \<bool>**\
Enable use custom link for the "Change domain password" option.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ChangePasswordURL \<string>**\
Custom link for the "Change domain password" option.\ <br>

```
        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 . 
```

<br>

### INPUTS

-none-

### OUTPUTS

[RASAuthSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASAuthSettings.html)

### EXAMPLES

\
\&#xNAN;**---------- EXAMPLE 1 ----------**\
\
Set-RASAuthSettings -AuthType SmartCard -ForceNetBIOSCreds $true\
\
Changes the RAS authentication settings to use the SmartCard type authentication. Sets the NetBIOS Credentials to be always forced.
