Managing licenses
While writing this book, there are no PowerCLI cmdlets to add, retrieve, update, or remove licenses. You have to use the vSphere API to manage licenses in PowerCLI. There is only one cmdlet in PowerCLI for license management, Get-LicenseDataManager
, and the only thing this cmdlet does is exposes a hidden vSphere API. The syntax of the Get-LicenseDataManager
cmdlet is as follows:
Get-LicenseDataManager [[-Server] <VIServer[]>]
[<CommonParameters>]
The Get-LicenseDataManager
cmdlet has no required parameters.
You will use the vSphere API objects LicenseManager
, LicenseAssignmentManager
, and the hidden LicenseDataManager
object to manage licenses.
You need to use LicenseManager
to manage licenses in the license inventory on your vCenter ...
Get Learning PowerCLI - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.