I have a Sharepoint site with multiple subsites. Some of the subsites are set to NOT inherit permissions from the parent site and I've lost track of which subsites those are. I would like to reset the inheritance settings for all of the subsites to inherit permissions again. It's okay to lose whatever permissions are set on the subsites. I don't see a GUI option in Sharepoint to do this.
I found another EE question on this topic with a solution, but it is done via programming:
I'd like to implement this solution, but I'm not sure exactly how. Do I copy the code to a text file, rename it to a .COM, .BAT, or .VBS and run it from the Sharepoint server command prompt? Is this a PowerShell command? Is there another way to do this perhaps?