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-2A...
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!
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.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You can upvote the ideas.
All little bits help :smileygrin:
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference