Export a list of unused Office 365 licenses in your delegated administration tenants

A poweshell script I came across, could be useful for some of Itarian users :
Export a list of unused Office 365 licenses in your delegated administration tenants
https://gcits.com/knowledge-base/export-list-unused-office-365-licenses-delegated-administration-tenants/