Recently we have a requirements to clean up the permissions and remove the Everyone group from the data area. So I cobbled up a few powershell scripts from the net a good a script to do the following:
1) Get from a external text file a list of directories to check
2) Any directory or subdirectory contain the Everyone group will be written to a log file
3) At the same time, we want to know if we got access denied (that is weird permissions) , it will also output this to the same log file
Basically, I coded this within 2 hours being someone who is not good with Powershell, especially the error handling portion which too most of my time to find out how to get it right. So the codes are not standard, but its not that hard to understand or change it.