Get-RAS ConfigurationThe cmdlet accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the cmdlet, access to these internal properties is provided through the Config method.
NetDial Configuration Settings
|IgnoreModemSpeaker: Whether the cmdlet will ignore the default modem speaker settings.Setting this value to True will cause the cmdlet to ignore the modem speaker settings in the RAS phone book, and uses the setting specified by SetModemSpeaker. If it is False, the cmdlet uses the modem speaker setting that is in the RAS phone book, and ignores the setting specified by the SetModemSpeaker.|
|IgnoreSoftwareCompression: Whether the cmdlet will ignore the default software compression settings.If set to True, the cmdlet ignores the software compression setting that is in the RAS phone book, and uses the setting specified by SetSoftwareCompression. If set to False, the cmdlet uses the software compression setting that is in the RAS phone book, and ignores the setting specified by SetSoftwareCompression.|
|OverrideEntrySetting: Whether or not to use the cmdlet settings when dialing a phone book entry.If set to True, the cmdlet will use PhoneNumber, CallBackNumber, User, Password, and Domain as specified in the cmdlet if set, instead of the value specified in the pre-existing phone book entry.|
|PausedStates: Whether the cmdlet will accept paused states.If set to True, the cmdlet will accept paused states. Paused states include terminal mode, retry logon, change password, set callback number, and EAP authentication. If set to False, the cmdlet will report a fatal error if it enters a paused state.|
|PauseOnScript: Tells the cmdlet to display a logon terminal.This value is used internally by the system for Windows-95-style logon script execution. If True, a logon-script will be displayed in a terminal window visible to the user. Applications should not set value.|
|SetModemSpeaker: Whether the cmdlet will use the modem speaker.This config value determines whether or not the modem speaker will sound during a connection. If IgnoreModemSpeaker is False, the cmdlet ignores the value of SetModemSpeaker, and sets the modem speaker based on the RAS phone-book setting or the default setting.|
|SetSoftwareCompression: Whether the cmdlet will use software compression.This config value determines whether or not the cmdlet uses software compression for the modem connection. If IgnoreSoftwareCompression is False, the cmdlet ignores the value of SetSoftwareCompression, and sets the software compression state based on the RAS phone-book setting or the default setting.|
|UseCustomScripting: Tells the cmdlet to use custom script DLLs.Specifies that the cmdlet should invoke a custom-scripting DLL after establishing the connection to the server. the cmdlet can only invoke the DLL if all of the following conditions are met: UseCustomScripting is specifically set to True. A custom-scripting DLL is correctly registered with the system. The CustomScript option is specified in the phone-book entry. Note: this option is not supported in Windows 2000 and NT.|
|UsePrefixSuffix: Whether or not to use the dialing prefix and suffix in the phone book.If set to True, the cmdlet will use the prefix and suffix that are stored in the RAS phone book. If False, the cmdlet will ignore the prefix and suffix.|
Whether or not the entry should use the default gateway on the remote network.UseRemoteDefaultGateway is used when creating a new entry. By default, this
value is true and tells the entry created that it should forward data that cannot be sent
on the local network to the dial-up connection.
NOTE: This option is only valid when a local area network connection and dial-up connection both exist simultaneously.
Sets the VPN Type when creating entries with NetDial.The supported values include the following:
NOTE: This is only available in .NET
Base Configuration Settings
|UseBackgroundThread: Whether threads created by the cmdlet are background threads.If set to True, when the cmdlet creates a thread the thread's IsBackground property will be explicitly set to True. By default this setting is False.|
Tells the cmdlet whether or not to use the system security libraries or an internal implementation.
By default the cmdlet will use the system security libraries to perform cryptographic functions.
When set to False calls to unmanaged code will be made. In certain environments this is not desirable.
To use a completely managed security implementation set this setting to True.
Setting this to True tells the cmdlet to use the internal implementation
instead of using the system's security API.
Note: This setting is static. The value set is applicable to all cmdlets used in the application.
When this value is set the product's system DLL is no longer required as a reference, as all unmanaged code is stored in that file.