The helpdesk where I'm at likes to take the nuclear option of troubleshooting and as a first step wipe out a user's profile. They've been reprimanded enough times that they're not actually deleting a profile, but they're renaming it to the original name+ their initials as an extension.
At this point in time we have enough folders named "jones.JQS" or "smith.GNM" that they're taking up a lot of space and I need to delete them, and would like to start deleting them automatically. Here's what I'd like to do:
1) find all folders that have an extension. Doesn't matter what it is, just has to be a folder and an extension has to exist
2) of those folders, find ones older than 2 weeks
I'm drawing a blank on how to list all folders that have an extension. "gci | select-object extension | ... ?"
Thanks
zarberg@gmail.com