Script to Find Specific Folder in User Profiles
Here's a brain buster for everyone. I know there is a way.
Goal: Find a specific folder located in user profile appdata\romaing
I need the results to tell me which user profile has the specific folder.
Example:
If FolderA is found in user profiles 1, 2, and 3, then I need the script to return which user profile has that folder.
1
Comments
If you're looking to scan for that data with Inventory, I recommend a Files & Directories Scanner. The Include Pattern would look something like this:
Here's the PowerShell way: