Windows – How to delete virtual networks from command line

command-line-interfacehyper-v-server-2008-r2windows

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?

Best Answer

More research... I found something related here: http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/708aef60-05ad-40ed-af70-5ddcaf2a7a36

Referring to a tool called nvspscrub on the code.msdn.microsoft.com site.

I'll give this a try.