Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Delete Dial-up connection via script or CLI

Posted on 2011-03-02
2
Medium Priority
?
572 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 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

636 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