https://www.sharepointgems.com/2020/06/retrieve-all-communication-sites-using-powershell/
Retrieve all Communication Sites using PnP PowerShell