alanrenouf / vCheck-vSphere

vCheck Daily Report for vSphere
MIT License
732 stars 326 forks source link

License Report Blank Expiration Date Fields #744

Open MasterChiefJon opened 2 years ago

MasterChiefJon commented 2 years ago

Whenever we run vCheck, the license report shows all of our licenses, but the Information and ExpirationDate fields are all blank. Otherwise, the report is accurate. I drilled down into the PowerShell script, and it is looking for a property where the value of $_.key -eq 'expirationDate'. That key does not exist on any of the licenses in our vCenter 7.0U3 system.

rebelinux commented 1 year ago

Happen also in my environment. I believe the issue is related to non expiring licenses.

vcenter_portal_licenses

rebelinux commented 1 year ago

vCheck license report before fix:

vcheck_licenses_report_before_fix

rebelinux commented 1 year ago

vCheck license report after fix applied:

vcheck_licenses_report_after_fix