«

»

Jun 10

Adding License Keys to vCenter with PowerCLI

When deploying an SDDC into my lab, I found it to be a hassle to have to add my licenses to vCenter manually. I created a function that will take a license key that is passed to it and add it to vCenter automatically. If the license key already exists in vCenter it will not give you an error, nor will it create a duplicate entry.

 

To use this function simply pass the value like the example below:

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

5 × 4 =