First, if you have subversions of the PVS disk, merge it to a new base and then rename the new vhd, pvp and lok file. Delete the merged version from the PVS console.
Note, this is not a script, manually run each task, be careful to select correct disk and volume!
diskpart
Select vdisk file="E:\store\mynew.vhd"
list vdisk
expand vdisk maximum=50000 (in megabytes)
attach vdisk
list disk
list volume
select volume 7 (volume number from list volume command)
extend
list volume
detach vdisk
exit
Import the new disk in the PVS console.
Image may be NSFW.
Clik here to view.

Clik here to view.
