Powershell sample program to write selected filenames (based on pattern) to a file (and/or console)
I needed a list of files from a huge directory of file for certain companies, and the company name was the prefix of the filename. The company names are added to an array of strings. This script recursively gets all filenames in a given directory, tests them to see if the start with any of […]