I have some bug on pages that uses custom Content type. I have fixed that bug by just 1). removing that custom content type from pages library, 2). Refreshes the page and then 3). By adding the same content type again. By following these steps I have fixed the bug. I have same problem on 150 sites, so i decided to write powershell script instead performing these steps manually on all 150 sites.
So, I have written Powershell script that follows the above steps where I walk through all the sites in a web application and remove a custom content type from Pages library. After removing content types from all 150 sites, i want to refresh all these sites (as step 2 above). How I refresh all 150 sites using Powershell?