Delete and create checkpoint of a list of VMs in different hosts

gautam nandakumar 1 Reputation point
2021-06-13T05:16:48.647+00:00

List of hyperVs in txt
List of Vms in txt

Search if each VM is in hyperV

If yes delete all checkpoint (show progress) and then create checkpoint (show progerss)

Else search next hyperV


Please help/guide me to create this script in PS, thanks.

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
Windows for business Windows Server User experience PowerShell
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2021-06-14T02:37:22.25+00:00

    Hi,
    I’m sorry but I do not understand the problem. Would you describe it again?
    Based on my understanding, you’re trying to create checkpoints for other vms from your local vm, by scripts, is that correct?
    Please be more specific about the question you want to ask.

    Thanks for your understanding.
    Best regards,
    Danny

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Anonymous
    2021-06-14T02:37:50.5+00:00

    Hi,
    For your reference, you might want to take a look at this:
    https://www.altaro.com/hyper-v/remote-management-powershell/
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    Thanks for your understanding.
    Best regards,
    Danny

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Anonymous
    2021-06-14T06:15:08.807+00:00

    Hi,
    You might want to refer to this article:
    https://learn.microsoft.com/en-us/powershell/module/hyper-v/get-vmsnapshot?view=windowsserver2019-ps
    You can select the version like this:
    105273-image.png
    Thanks for your time.
    Best regards,
    Danny

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  4. Anonymous
    2021-06-17T02:07:16.767+00:00

    Hi,
    I did some research but it seems that there’s no official documents that provide commands of this kind.
    Please take a look at the links below:
    https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/try-hyper-v-powershell
    https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/checkpoints

    Thanks for your understanding.
    Best regards,
    Danny

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  5. Anonymous
    2021-06-21T07:55:44.333+00:00

    Hi,

    I would like to check if the issue has been fixed? If yes, please help accept answer, so that others meet a similar issue can find useful information quickly. If you have any other concerns or questions, please feel free to feedback.

    Best Regards,
    Danny

    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.