Finished the feature to merge all VHD's before backing up. It now
collects information of the VM and merges the VHD's. We still need to
edit the XML to start from the base VHD and remove the Snapshottree.
Implemented a feature to merge all VHD's in one. We could present this
as an option the the end-user.
It would also make up for a cleaner backup.
The XML still needs to be edited after the merge so that the config will
point to the parent VHD. Also the snapshots should be removed, these can
still be viewed in the Hyper-V Manager.
Wrote a function to load a XML file. We always copy the XML to the
tempfolder since it might be used by another process when we try to load
the file.
The other function will retrieve the associated active VHD of the
configuration.
The next step would be to copy certain configurations settings from the
backup XML to implement in the previously created Hyper-V machine.