Solved

Delete Dial-up connection via script or CLI

Posted on 2011-03-02
2
563 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VbScript to countdown to New Year's Day 6 64
Excel copy picture into Outlook email 7 65
Command prompt output to variable? 9 59
Event ID 1054 Userenv 2 32
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

766 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