I need a script which will iterate through all sites in the site collection, set the sitepages library to have unique rights and then change a group we created to just have read only access. This needs to iterate through approx. 400 subsites.
Script needs to be developed on own machine and then sent over.
Note: This should only change the sitepages library and not remove any existing permissions.