I have to export a VM from Hyper-V that has two VHDs attached to it, however I only want to include the VHD that has the operating system in the export. When I select export from Hyper-V manager, it seems to export either all or nothing. Is there any way for me to omit the second VHD? I will be incorporating this into a PowerShell script. We're running Windows Server 2008 R2.
Thanks for your help.