automating MS Word 2010 -> PDF
Posted on 2014-10-20
I understand that it is possible to have a PowerShell script automate MS Word to read an MS Word document from a folder and save it out as a PDF document (same name, different extension) without bringing up a user GUI (in order to run on a server).
We have a need to run a script like this via the scheduler (once / minute or in a loop) to convert MS Word documents (*.doc, *.docx) to PDF (any relatively current version) on a Windows 2008 R2 (64-bit) server image.
Does anyone have the time to provide a script that can do this? The goal is something that we can have going unattended and is reasonably immune to "hanging".