Solved

Delete Dial-up connection via script or CLI

Posted on 2011-03-02
2
567 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 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