PowerTip: Identify Locations of Hyper-V Config Files
Summary: Use PowerShell to find the .xml files of Hyper-V virtual machines.
To scan drive C: for all .xml files:
GET-CHILDITEM C: -recurse -include *.xml
To be more efficient, target only C:ProgramData where the data, including hidden folders, is stored:
GET-CHILDITEM C:ProgramData –recurse –include *.xml –force
If you need to manually rebuild configuration data, you can parse files for machine names and data.