Coder Social home page Coder Social logo

dominikzorgnotti / vmware-vsphere-release-tagging Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 124 KB

Home Page: https://www.why-did-it.fail/blog/2021-02-set-esxi-release-names-with-tags

License: GNU General Public License v3.0

PowerShell 100.00%
powershell powershell-modules vmware vmware-esxi vmware-vsphere

vmware-vsphere-release-tagging's People

Contributors

dominikzorgnotti avatar

Stargazers

 avatar

Watchers

 avatar

vmware-vsphere-release-tagging's Issues

Move from PSObject to hashtable

When importing the JSON data file, convert the output to a PS hash table.
It allows for easier handling of data verification

Allow a limit scope for application of tags

Currently, all ESXi hosts in a vCenter are targeted.
How to handle the user scenario where the user wants to pass an entity (Folder, Cluster, Datacenter) either as named parameter or pipeline input?

Rework module logic

Instead of looping through the list of hosts it would be more efficient to loop through the unique build numbers first.
In pseudo-code:

  • for each $version in $unique_build_numbers
    • try to build the $release_name_tag
      • for each $host in the $list_of_hosts with $version
        • apply $release_name_tag (if tag available, if not apply $null_tag

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.