Get the DefaultExternalDataRoot Msvm_VirtualSystemManagementServiceSettingData property to get vm root, and add the Name Msvm_ComputerSystem (guid) and ".xml" property. Even if the virtual machine is created in a non-standard location, you will see a symbolic link in the root directory of the external data by default, referencing the configuration file.
Ezra
source
share