I have deleted a .avhdx file stupidly due to disk space issues, and lack of knowledge of VM's. Obviously when I try to start to start the virtual machine, it wont start because the file is missing.
Are their any options here to recover or am I royally screwed? How do I run getdataback on a Hyper 2012 install without a GUI?
Was that snapshot created recently? If so, you could try creating a new VM in Hyper-V that uses the original .vhdx file as the disk. Theoretically, you should still have all your original data in that file, you would just lose all the changes made after the snapshot. Either way, lesson learned.