PowerCLI

 View Only
  • 1.  PowerCli Script to run the report of healthcheck of my VMware Infra

    Posted Jun 17, 2024 12:49 AM

    PowerCli Script to run the report of healthcheck of my VMware Infra with below items.

    1. ESXi health states
    2. VMs health States
    3. Any VMs got rebooted due to HA
    4. Any new VMs or VMhosts or Datastore or VLANs created in the infra
    5. vCenter overall health check

    is there  a template scripts available for this? So that, i can schedule this every day at morning. 



  • 2.  RE: PowerCli Script to run the report of healthcheck of my VMware Infra

    Posted Jun 17, 2024 12:52 AM

    You might want to have a look at vCheck.



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


    Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference


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



  • 3.  RE: PowerCli Script to run the report of healthcheck of my VMware Infra

    Posted Jun 21, 2024 02:13 PM

    I always wonder, how you're able to respond to everyone. Always admired your responses and started doing a few automation by following you :)




  • 4.  RE: PowerCli Script to run the report of healthcheck of my VMware Infra

    Posted Jun 21, 2024 02:22 PM

    Thanks, much appreciated.

    The fact you started doing automations is the primary why I'm doing it.



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


    Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference


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



  • 5.  RE: PowerCli Script to run the report of healthcheck of my VMware Infra

    Posted Jun 23, 2024 02:45 PM

    Thank you for the same!

    It has everything. But, how to get the HA triggered VMs list on that day? 




  • 6.  RE: PowerCli Script to run the report of healthcheck of my VMware Infra

    Posted Jun 23, 2024 02:46 PM

    You can look at the events.
    I did a post on that in HA VM failover tracking



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


    Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference


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