Set-RASAuthSetting

NAME

Set-RASAuthSetting

SYNOPSIS

Updates connection settings for authentication.

SYNTAX

Set-RASAuthSetting [[-AuthType] <AuthenticationType> {UsernamePassword | SmartCard | UsernamePasswordOrSmartCard}] [-AllTrustedDomains <bool>] [-Domain <string>] [-ForceNetBIOSCreds <bool>] [-ReplicateSettings <bool>] [-RequireCredentials <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.

PARAMETERS


-AuthType <AuthenticationType>
Represents the type of authentication.

Possible values: UsernamePassword, SmartCard, UsernamePasswordOrSmartCard

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

-RequireCredentials <bool>
Whether to require user credentials for the application list.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

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

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Domain <string>
Domain name.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

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

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

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

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

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

        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

PSAdmin.RASAuthSettings

EXAMPLES


---------- EXAMPLE 1 ----------

Set-RASAuthSetting -AuthType SmartCard -RequireCredentials $true

Changes the RAS authentication settings to use the SmartCard type authentication. Sets the credentials to be always required.

RELATED LINKS