Automation

 View Only
  • 1.  Configuring Update Manager via PowerCLI

    Posted Nov 12, 2018 07:06 PM

    I have multiple environments to build and configure and I'm trying to automate as much as possible. Current step is "Update Manager".

    What I need to do is this: 

    - Add a repository (HPE)

    - Create a baseline using specific Extensions from this repository

    - Create a baseline group combining this new baseline and the default Non-Critical and Critical baselines

    - Apply this baseline to my cluster

    I've found this https://pubs.vmware.com/vsphere-6-0/index.jsp?topic=%2Fcom.vmware.powercli.ug.doc%2FGUID-BCD266EC-2A66-4F35-8E2E-0138C10D7007.html

    which covers most steps except the "Add a repository".

    Anyone has a script similar to this that they are willing to share, or if you can help me with the repository addition that would be great.

    Thanks!



  • 2.  RE: Configuring Update Manager via PowerCLI

    Posted Nov 12, 2018 07:15 PM

    I'm afraid that cmdlet/functionality is missing.
    And afaik, there are no public API that would allow one to code it.

    That also explains the several PowerCLI ideas asking something similar.



  • 3.  RE: Configuring Update Manager via PowerCLI

    Posted Nov 12, 2018 07:17 PM
    Thanks Luc. That's fairly basic though, hopefully it will be added soon! (too late for me but still :) )


  • 4.  RE: Configuring Update Manager via PowerCLI

    Posted Nov 12, 2018 07:45 PM

    You can upvote the ideas.
    All little bits help :smileygrin: