Create a Virtual Server Dynamic Hard Disk

Creates a new Virtual Server dynamic hard disk.

VBScript Code


On Error Resume Next

Set objVS = CreateObject("VirtualServer.Application")
errReturn = objVS.CreateDynamicVirtualHardDisk _
    ("C:\Virtual Machines\Disks\Scripted_HardDisk.vhd", 20)