Automation

 View Only
  • 1.  Change Advanced Settings on Multiple Hosts

    Posted Nov 18, 2015 07:56 PM

    I need some help putting a script together that will make a bunch of advanced storage setting changes to multiple hosts. I saw there was a get-esxcli cmdlet but the reference only shows them working in 5.0.

    esxcli system module parameters set –p fnic_max_qdepth=XXX –m fnic


    esxcli storage core device set –d naa.XXXXXXXXXXXXX –o XXX


    esxcli system settings advanced set –-int-value=XX –o /Disk/SchedQuantum


    ....and a few other "esxcli system settings advanced set" commands.  I figure this could pretty easily be done through a loop or just by connecting to multiple ESXi hosts as once, but calling the esxcli commands from powercli is where I'm getting messed up. 



    thanks in advance!



  • 2.  RE: Change Advanced Settings on Multiple Hosts