/
RAS_SetTCPIPProperties
RAS_SetTCPIPProperties
Description
Setup advanced TCP/IP settings for an existing RAS connection
Syntax
RAS_SetTCPIPProperties(sConnectionName, bUseRemoteGateway, sIPAddress, sPrimaryDNS, sSecondaryDNS, sPrimaryWINS, sSecondaryWINS) As Boolean
Parameters
sConnectionName (String)
A friendly name for the connection
bUseRemoteGateway (Boolean)
Use default gateway on Remote Network
sIPAddress (String)
If you want to use a static IP on remote Network
sPrimaryDNS (String)
Primary DNS
sSecondaryDNS (String)
Secondary DNS
sPrimaryWINS (String)
Primary Wins
sSecondaryWINS (String)
Secondary Wins
Example
VBScript
If bStatus Then bStatus = RAS_SetTCPIPProperties("ACME VPN", False, "10.1.1.65", "10.1.1.2", "", "10.1.1.164", "")
Related funtions
, multiple selections available,
Related content
$cs.Reg_GetMultiString
$cs.Reg_GetMultiString
More like this
CMS_AddComputerToStaticGroup
CMS_AddComputerToStaticGroup
More like this
Net_Ping
More like this
CMS_RunSystemAgent
CMS_RunSystemAgent
More like this
$cs.Shell_Execute
$cs.Shell_Execute
More like this
CapaOne AdminOnDemand
CapaOne AdminOnDemand
More like this