8 Replies Latest reply on May 10, 2016 12:21 AM by madhav2323

    Need script to connect multiple hosts and clear vsan on the same

    madhav2323 Novice
    VMware Employees

      Hi Experts,

       

      I need a script ( python/ shell )  to connect multiple esxi hosts and run the below commands.

       

      esxcli vsan storage automode set --enabled=false

      esxcli vsan storage list | grep -B4 "SSD: true"

      esxcli vsan storage remove -s  naa.*

      esxcli vsan cluster leave

       

      Could you please hel, Thanks in advance.