Powershell to do site closing or read only from a csv file RRS feed

  • Question

  • We have about 4000 unused sites and we want to do a site and deletion policy process but as you can see 4000 sites are a lot if we go via site settings and do it one by one.

    So my question is, is there a powershell script to run to read a csv file setting sites to read only mode. Thank you in advance.

    Thursday, September 10, 2020 3:00 PM