I was wondering if there was a way i could open a pdf, add a password, and save and close it all through either command-line or powershell. I am unsure of how I would go about doing this, specifically adding the security to the document (I am able to open the document I want to secure).
One of the options i saw to do this, potentially, was to leverage javascript and then use powershell to call the script... but i don't know how i would go about doing things. Any assistance or pointers would be fabulous. Thanks in Advance.
Rory M.