Modify a Virtual Network Property

Modifies the Notes property for a virtual network named Scripted Network.

VBScript Code


On Error Resume Next

Set objVS = CreateObject("VirtualServer.Application")
Set objNetwork = objVS.FindVirtualNetwork("Scripted Network")

objNetwork.Notes = "This note was added via a script."