It would be great to have Cmdlets for adding/removing/assigning/getting licenses via PowerCLI for all relevant products. i.e. ESXi license, vCenter license, vSAN License etc.
This would help improve the ability to add/assign licenses quickly but also to help with reporting
It would be great if we can use this functionality for retrieving license/usage information we can use in license compliancy reports instead of making screenshots. Including VMware products like Horizon View, NSX, VROPS, Loginsight, VRNI, VRA, Appvolumes
I'm using this code (modified from something I found on Internet). You can add multiple license keys, and the vCenter license key will be assigned. I've not found anything to determine the currently assigned license key for vCenter, however.