Solved

Delete Dial-up connection via script or CLI

Posted on 2011-03-02
2
561 Views
Last Modified: 2012-07-27
Hey guys,

I have a project that I am working on that requires me to delete a dial-up connection before installing another. Believe it or not I have the rest of it down pat I just need to workout how to  remove the old connection.

In my case the Dial-up connection is called "Broadband Wireless". I am doing this on a large scale, so I need something that is easily executed from the local machine that I can tie into the rest of my scripts.

Cheers
G_M
0
Comment
Question by:G_M
2 Comments
 
LVL 8

Accepted Solution

by:
subhashchy earned 500 total points
ID: 35024206
try this..

rasphone -r  "Conneectionname"

or rasphone  /? for options
0
 

Expert Comment

by:mpdirect
ID: 38231145
this does not work if you have multiple entries in your PBK file and all you want to do is remove one entry
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question