Automating and Managing VMware with PowerShell

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

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

  • @yzgulec
    @yzgulec 2 года назад +1

    Hey Guy. Thanks for sharing your precious knowledge with us. I really appreciate. I will check vcenter gui script asap. Cheers!

  • @vadivelDIA
    @vadivelDIA Месяц назад

    Hello can i the poweshell script to get the status of the vm...We just wanted agent unreachable machine count with vm name

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

    "Anything you can do in console" : Just want to amend and note that the vsphere web console allows for viewing the guest machine's console, as well as performance metrics (i.e. graphs) which cannot be displayed in text/cli

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

      You misunderstand - I can start a console, etc from PowerCLI (or REST). Take a look at this script which does this, as well as producing screen snapshots, (and shows performance metrics although not graphically as I am not trying to replicate the web console in its entirety, just implement the key bits for testers, QA, devs, etc)
      github.com/guyrleech/VMware/blob/master/VMware%20GUI.ps1

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

    Thanks for this Video. Can we schedule and take snapshot using powerCLI (In console we have an option to schedule snapshot on each vm level) Thank you.

  • @sandeshgaikwad4186
    @sandeshgaikwad4186 2 года назад +1

    Hey, Nice video . Can you plz help me out, Do you have any sample script to create and delete the snapshot. Ex I have 15 snapshot but I want to create new one and delete the oldest one 15 number snapshot only so I can mentain retention period.

    • @GuyRLeech
      @GuyRLeech  2 года назад

      Thank you. Take a look at this script which contains code for creating and deleting snapshots but make sure you delete the right ones!
      github.com/guyrleech/VMware/blob/master/VMware%20GUI.ps1

  • @kkhalil597
    @kkhalil597 2 года назад +1

    This might be a long shot but how about a ps script to increase cpu/ram on vms with hot add disabled?

    • @GuyRLeech
      @GuyRLeech  2 года назад

      If you take a look at my VMware GUI script, it has the ability to change the RAM allocated to a VM, which needs to be done when the VM is stopped if dynamic add isn't enabled. Also code in there to shutdown & start a VM (for snapshot purposes)
      github.com/guyrleech/VMware/blob/master/VMware%20GUI.ps1

  • @pramodnikam1054
    @pramodnikam1054 4 года назад

    this video best but my conscience is i have vcenter on my premises but i work manually how to multiple clones with vsphere virtual machine with assign IP address and host-name

    • @GuyRLeech
      @GuyRLeech  4 года назад

      You want fixed IP addresses rather than DHCP? I have a cloning script for non-vCenter although don't use linked clones with 7.0 - github.com/guyrleech/VMware/blob/master/ESXi%20cloner.ps1