Our company recently bought a license for VMware vCenter Server 6 Essentials for vSphere (VCS6-ESSL-C) with license keys for VMware vSphere Essentials 6 for 1 processor (ha6-ESSL-C). = Decommissioning of a license key on ESXi host in order to import in vCenter Server Essentials 6 =. $assigned_licenses will now be an object array with your assigned license.īecause there is an a table object, you can also do: My = $license_assignment_manager $assigned_licenses-> QueryAssignedLicenses (entityId-online $target_host_view-> summary-> host-> value) My $target_host_view = Vim::find_entity_view (view_type-online 'HostSystem', filter-online ) I played a little more and I found that I can use the QueryAssignedLicenses sub and directly to the host target. I would like to be able to focus on a particular host. With the code above, when I me lorsque je me connecte connect to vCenter, the focus is on the vCenter Server licenses and there all licenses. My $license_manager = Vim::get_view (mo_ref = > $service_content-> licenseManager) My $service_content = Vim::get_service_content() When I connect to a vCenter server, I want to be able to change the direction of licenseManager to a specific host. When I connect directly to a host, I'm able to query that host ESX (i) of the licence, if it is in evaluation mode or not. I wrote a script to host license request. How can I change the licenseManager focus to be a host when it is connected to a vCenter Server
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |