Command line utility to change RAS connection setting
$30-5000 USD
Cancelled
Posted about 13 years ago
$30-5000 USD
Paid on delivery
This is for a command line utility to allows queriying a RAS entry for current value for "default gateway" and also te allow setting or clearing this setting. I believe the code would be largely redundant with this project we did previously, so should not require very much new code.
Command name: setdefgw {connection name | *} {on | off | unspecified}
Example 1: setdefgw MyWork on
This would find the RAS entry "MyWork" and turn on the setting "use default gateway on remote network".
Example 2: setdefgw HomeConnection off
This would find the RAS entry "HomeConnection" and turn off the setting "use default gateway on remote network".
Example 3: setdefgw HomeConnection
This would output the current value of Use Default Gateway on Remote Network.
Example 4: setdefgw * on
Turn on "Use Default Gateway on Remote Network" on all RAS entries.
Output strings:
"Successfully turned on."
"Successfully turned off."
"Error: Unable to find RAS entry."
"Error: Unable to modify RAS entry."
This command line utility should work with Windows XP, Vista, Windows 7, Windows Server 2003, Server 2003 R2, Windows Server 2008, Server 2008 R2, and compile with Visual Studio 2008 or 2010.