Set-RASAuthSettings
Updates connection settings for authentication.
Set-RASAuthSettings [[-] {UsernamePassword | SmartCard | Web | WebCredentials | UsernamePasswordOrSmartCard}] [- <bool>] [- <string>] [- <string>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [<>]
Updates all of the connection settings for authentication. All parameters are optional, but at least one has to be present.
-AuthType <> Represents the type of authentication.
Possible values: UsernamePassword, SmartCard, Web, WebCredentials, UsernamePasswordOrSmartCard
-AllTrustedDomains <bool> Whether to use all trusted domains.
-SiteId <uint> The site ID to which the RAS authentication settings refer.
-Domain <string> Domain name.
-UseClientDomain <bool> Whether to use the client domain, if specified.
-ForceNetBIOSCreds <bool> Whether to force clients to use NetBIOS credentials.
-ReplicateSettings <bool> Whether to replicate settings to other sites.
-UseChangePasswordURL <bool> Enable use custom link for the "Change domain password" option.
-ChangePasswordURL <string> Custom link for the "Change domain password" option.
<CommonParameters>
-none-
---------- 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.
Required? false
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.