SharePoint 2016 PnP PowerShell Script

Job ID: 35421378

Budget: $15 – $25 USD

I need a SharePoint 2016 PnP PowerShell scripts to will get all sharepoint sit/subsite with their permission and replace the permission with ReadOnly permission