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

Set-RASAuthSettings

SYNOPSIS

Updates connection settings for authentication.

SYNTAX

Set-RASAuthSettings
 [[-AuthType] {UsernamePassword | SmartCard | Web | WebCredentials | UsernamePasswordOrSmartCard}]
 [-AllTrustedDomains <bool>] [-ChangePasswordURL <string>] [-Domain <string>]
 [-ForceNetBIOSCreds <bool>] [-ReplicateSettings <bool>] [-SiteId <uint>]
 [-UseChangePasswordURL <bool>] [-UseClientDomain <bool>] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

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.

PARAMETERS

-AuthType

Represents the type of authentication.

Possible values: UsernamePassword, SmartCard, Web, WebCredentials, UsernamePasswordOrSmartCard

Type reference: AuthenticationTypes

-AllTrustedDomains

Whether to use all trusted domains.

-SiteId

The site ID to which the RAS authentication settings refer.

-Domain

Domain name.

-UseClientDomain

Whether to use the client domain, if specified.

-ForceNetBIOSCreds

Whether to force clients to use NetBIOS credentials.

-ReplicateSettings

Whether to replicate settings to other sites.

-UseChangePasswordURL

Enable use custom link for the "Change domain password" option.

-ChangePasswordURL

Custom link for the "Change domain password" option.

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

None

OUTPUTS

RASAuthSettings

Last updated