I’ve developed a small and simple script, which looks for sensitive information in files and folders.
It’s written in Powershell and is modular in structure, allowing you to edit it to better match the patterns of data you are searching for.

As I’m based in Denmark, it looks for danish SSN (CPR) numbers and other related keywords.

In Europe there is a need for tools like this – as the GDPR regulations continue to affect the market and incoming data requests must be honored in a timely manner. 

What the script does is in essence very simple; use regex patterns to match different types of data in Powershell. Every pattern is matched to a parameter aptly called $pattern. You can download it on Github here.