Register a Virtual Network

Registers a virtual network named Scripted Network.

VBScript Code


On Error Resume Next

Set objVS = CreateObject("VirtualServer.Application")
errReturn = objVS.RegisterVirtualNetwork _
    ("Scripted Network","C:\Virtual Machines")