deploy vm from template in hyper-v

Welcome Forums General PowerShell Q&A deploy vm from template in hyper-v

This topic contains 0 replies, has 1 voice, and was last updated by  vickynet87 1 month ago.

  • Author
    Posts
  • #171067

    Participant
    Topics: 6
    Replies: 2
    Points: 44
    Rank: Member

    Hi all,

    we have hyper-v 2012 server ,we want to add automation for creating vm using template by powershell script, i searched for that but i got and i used below command in powershell,

    (import-vm -path "d:\vmbackup\aiindlcj-012\virtual hard disk\aiindchn912.vhdx" -copy -generatenewid)  but its says Guid should contain 32 digits with 4 dashes.

     

    can u help on this ,

     

    Thanks,

    Vignesh.

You must be logged in to reply to this topic.