Get All the Public or Private Team Sites in SharePoint with PnP.PowerShell

When you create a Team Site in SharePoint, you have an option to set the Team Site as: Public – anyone in the organization can access this site, or Private – only members can access this site Many people don’t know what the effect this setting has – I need to remind myself from time…