Job description
I would like to order writing a PowerShell script, which will search a selected directory and all subdirectories placed in it for PDF files, and then will perform on PDF files the option of silently reprinting these files again to PDF (so that reprinted, overwritten files have the same name and are placed in the same directories)
The goal is that the stamps placed in the PDF files cannot be edited.
At the end I would like to get a report about all searched PDF files in given directories and subdirectories and information about successful and unsuccessful print operations.
PS. The script has to be resistant to very long paths, spaces and dots in file and directory names