Automate The Creation of Virtual Machines in VMWare

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024

Комментарии • 12

  • @frempongadarkwa2232
    @frempongadarkwa2232 Год назад +1

    Nice

  • @minhajahmed9373
    @minhajahmed9373 5 месяцев назад

    This script is very good and I have built multiple machines. Need to go over couple small changes but it works. I have question as I have multiple Single node ESXi servers and they do not have clusters. How can a script to build on single esxi as your example is pointing to only cluster based nodes. Please give some tips to make is working. Thanks

  • @YnellMwa
    @YnellMwa 2 месяца назад

    Hello i always get a no bootable device as a problem I don’t understand why

    • @YnellMwa
      @YnellMwa 2 месяца назад

      When I open the vm

  • @samuelyapir9889
    @samuelyapir9889 Год назад +1

    Great script.
    How about adding the part to add the VM to Windows domain?

    • @SwapnilInfotech
      @SwapnilInfotech  Год назад

      Adding VM into domain can be a part of VM Customization file. Please let me know if you are facing any issues

  • @amandastful
    @amandastful Год назад +1

    I am getting below error message:
    The term 'Invoke-VMScript' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
    was included, verify that the path is correct and try again.

    • @SwapnilInfotech
      @SwapnilInfotech  Год назад +1

      Please check if you have PowerCLI installed on your computer. PowerCLI commands do not work on PowerShell . There are so many videos available on RUclips how to install PowerCLI, you can refer to that and let me know if you have any questions.

    • @amandastful
      @amandastful Год назад

      @@SwapnilInfotech i tried on another PC and it's working now, thanks!
      do you know how to create multiple VMs with this script?

  • @bkbalakrishna5528
    @bkbalakrishna5528 Год назад +1

    I'm getting error at the time of IP setting Please help
    Setting IP address for 2K19AUTOVM...
    Invoke-VMScript : 18-04-2023 12:47:47 Invoke-VMScript Failed to authenticate
    with the guest operating system using the supplied credentials.
    At C:\Users\Administrator\Desktop\Bk_Balu\script\Vm Creation.ps1:40 char:20
    + ... $IPConf = Invoke-VMScript -VM $VMname -GuestCredential $GC -ScriptT ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Invoke-VMScript], InvalidGues
    tLogin
    + FullyQualifiedErrorId : Client20_VmGuestServiceImpl_RunScriptInGuest_ViE

    • @SwapnilInfotech
      @SwapnilInfotech  Год назад

      The error shows that the authentication is not working in the guest operating system so can you please check local accounts and it's password in Template?

    • @bkbalakrishna5528
      @bkbalakrishna5528 Год назад

      ​@@SwapnilInfotech _ i have verified local Account passwd by loggin into vm manualy it is working that means my OS customization password is correct
      But template user name is diffrerent password remins same for both GUSTOS & templete