One of our key requirements involved exporting a list of PDFs from Sitecore. We accomplished this task quickly using the Sitecore PowerShell Extension. Sitecore PowerShell Extension( SPE ) provides numerous advantages, making it an invaluable tool for Sitecore administrators and developers in their daily tasks.
Have a look at this script as mentioned below:
Hope this helps.
Happy Learning !!!

