Hi @Rick S
Based on the published Hyper-V documentation, Hyper-V Manager doesn’t provide a documented, durable export-completion record that satisfies the proposed later-handoff requirements.
- When an export is complete, the exported files are present under the selected destination. Hyper-V Manager can display progress while the operation is running, but that display is a persistent completion or audit record.
Msvm_ConcreteJob can distinguish states such as completed, failed, terminated, or killed and expose an error code and description. However, it tracks an asynchronous operation and is retained for only five minutes after completion by default. It therefore doesn’t meet an unspecified later-return requirement.
- Association with the VM and destination
There's no Microsoft documentation defining a persistent Hyper-V Manager record or native event-record contract that associates a completed export with all of the following:
- The VM’s immutable ID.
- The exact export destination.
- A unique export transaction identifier.
- The final success or failure state.
Individual Hyper-V event records may describe failures, but Microsoft doesn’t document those events as a complete, version-stable export transaction ledger.
- Lifetime and preservation
The Manager progress indication is operational UI state, not documented durable history. The WMI job has the documented five-minute retention period. Event logs are persistent only according to each channel’s configured size, retention, and overwrite policy; wevtutil can export an existing log, but it doesn’t establish that the channel contains a contractually complete export-success record.
- Ordinary facility for later review
I cannot find a Microsoft-documented existing Hyper-V Manager facility that preserves all the requested completion, association, error, destination, and retention evidence without configuring evidence capture before the operation.
For a bounded workflow, use the supported Export-VM cmdlet without -AsJob, with explicit error handling, and preserve the PowerShell session output. Microsoft documents Export-VM as the supported cmdlet for exporting a VM and Start-Transcript as the supported mechanism for recording commands and console output to a text file.
That approach still requires the workflow to record the VM ID, destination, start/end times, export result, errors and output reconciliation explicitly. It isn’t evidence supplied retrospectively by Hyper-V Manager.
- Applicability
Before admitting the workflow, record and test at least:
- Windows edition, version and build.
- Hyper-V module version.
- wevtutil
- VM configuration version and generation.
- VM state at export.
- Whether checkpoints or differencing disks exist.
- Source and destination file-system types.
- VHDX locations and attachment details.
Microsoft supports exports of running or stopped VMs, but it doesn’t publish a version-independent durable evidence contract for Manager exports.
Regarding byte identity, Microsoft documents that an export gathers the VM configuration, virtual hard disks and checkpoints into the export. The earlier Hyper-V documentation describes the exported virtual hard disks as copies, but I cannot find a current Microsoft guarantee that every exported independent VHDX will be byte-for-byte identical to its source across all supported Windows versions, storage types and export paths.
Comparing file lengths and SHA-256 values can establish observed equality for the tested export under stable custody. A mismatch, however, cannot by itself be classified as corruption without a documented byte-identity guarantee or additional validation.
Therefore, the proposed workflow needs its own preserved execution record and output manifest. Hyper-V Manager alone doesn’t provide the documented durable evidence required for a later unattended handoff.
References:
Export and import virtual machines
PowerShell try/catch error handling
Help make this community better for everyone: If this answer helped or resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution. Thank you.