Don't have Telegram yet? Try it now!
https://msisgreat.net/2018/08/16/export-sharepoint-groups-and-users-using-csom-powershell/
Export SharePoint Groups and users using CSOM PowerShell