Hyper-V import progress

Scott Bates 1 Reputation point
2020-10-06T18:16:27.42+00:00

I'm in the process of doing a VM import into a new Hyper-V host. While the export showed a progress percent the import does not.

Is there anyway to see the % completed or more detailed view of how much longer is left on the import? The scrolling green bar isn't very helpful after 4 hours (2TB VM).

I thought there may be a PS script but I couldn't find anything.

Thanks in advance.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,694 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Anonymous
    2020-10-06T18:25:38.483+00:00

    Did you copy it local before import or importing via network? I'd expect it to go fairly quick if local.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  2. Leon Laude 85,781 Reputation points
    2020-10-06T18:26:28.59+00:00

    Hi @Scott Bates ,

    Unfortunately the native Import-VM PowerShell cmdlet does not offer any progress bar, you could ask the PowerShell experts if there is a way around it to show any kind of progress by using the Write-Progress cmdlet.

    Here's the PowerShell forum:
    https://learn.microsoft.com/en-us/answers/topics/windows-server-powershell.html

    In the below link you'll find some examples on how to use the Write-Progress, you could re-write the script and use Import-VM instead:
    https://stackoverflow.com/questions/28304592/get-an-progress-output-for-export-vm

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

  3. Scott Bates 1 Reputation point
    2020-10-06T18:28:18.887+00:00

    @Anonymous This is copying from a NAS device.

    0 comments No comments

  4. Anonymous
    2020-10-06T18:30:19.16+00:00

    If you can copy it local (or to destination) the import may go quicker.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  5. Scott Bates 1 Reputation point
    2020-10-06T18:35:42.723+00:00

    @Anonymous - Hard to say if it will be faster. I'm already invested into this import. Also I don't see any way to cancel it. I can copy it locally simultaneously in case the NAS import fails but that may just slow it down more.

    It took about 5 hours to export, I'd expect it to take about the same to import but who knows without a progress indicator.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.