Here's a useful bit of powershell script from Brad Wilson.
If you're looking for a specific code snippet from your source code, you might want to take a look at this.
Brian's Find Dilemma