PowerShell Start-Process Print Not Working on Windows Server 2019
I'm working on an automation job using UC4 (Automic) to print PDFs from a directory.
The automation tool logs into the Windows Server 2019 virtual machine with a local admin level service account and feeds the PowerShell script to the remote server for execution.
I am trying to figure why the 'Start-proces '.\path_to_files.pdf' -Verb Print' cmdlet does not work when executed via automation tool, but works when I execute the cmdlet as a local admin user on the server? When executing with the automation tool, the print job does not get added to the printer spooler queue.
Could it be due to the "Enhanced Security" feature? I am reading that Acrobat does not allow "remote printing" if this feature is enabled--is this how it works?
