Windows watch folder dealing with multiple new files

I am using powershell FileSystemWatcher to watch a folder for new files. On new file, it removes file from folder, imports data and processes it into a PDF. It works, but it crashes if a file appears in the folder while a previous file is still being processed. Is there a way to queue the files and process them one at a time?
Michael GrayAsked:
Who is Participating?
 
Dustin SaundersConnect With a Mentor Director of OperationsCommented:
If you need help with code, it would be helpful to see said code.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.