How can I delete virtual networks from command line?

Posted by David Cobb on Server Fault See other posts from Server Fault or by David Cobb
Published on 2011-01-18T22:57:13Z Indexed on 2012/10/29 5:06 UTC
Read the original article Hit count: 452

I have Hyper-V Server 2008 R2 (without GUI) running at my colo for a week.

I was connected via RDP and could use the menu interface and command line. I figured out how to connect Hyper-V Manager from my Win7 laptop (THANK YOU HVREMOTE!), and created and installed my VM. I created a virtual network that didn't work (no connectivity from my VM) so I created another using different settings, and now have lost access to the Hyper-V host. No ping, no RDP.

Since I don't have console access, I cannot troubleshoot. I believe if I deleted the Virtual Networks I'd regain access, but I need a command line instruction for this, that the staff onsite could enter to accomplish this.

I find no help anywhere obvious (MSDN, etc), the keywords are too general.

Can anyone refer me to simple steps how to do this over command line or with the menu based interface on the console?

© Server Fault or respective owner

Related posts about Windows

Related posts about command-line