Powershell with SQL Question

Hello I am new to Powershell and using a Powershell script to extract files from a database and post the files to a directory. The Powershell is working as designed, the issue I have is that the filename must exist in a log table that was created to log the filenames that were extracted and are >= a specified date range.

I am trying to extract files without the filename already existing in the log table we created.

Hope this makes sense and you can help.

Thanks

It doesn’t make sense; you say the file must exist in a log table and then you say you’re trying to extract files without the filename already existing in the log table. Can you clarify what you’re trying to do with an example?