Don't have Telegram yet? Try it now!
https://msisgreat.net/2018/08/18/set-sharepoint-folder-level-permission-using-c-powershell/
Set SharePoint folder level permission using C# & PowerShell