I need help modifying a quick script.
I am working on a powershell script that will query a directory and store a filtered file w/ extension into a variable.
get-childitem $path -recurse -exclude *.mdb
In the directory, there will be multiple .mdbs, but, the mdb I am looking for and want to get with powershell is 9 characters long or XXXX.mdb.
Could you help me modify the code so that I can figure this out?