PDF Creator in Power Shell

Hallo,
I tried to use a PDFCreator in a Power Shell Script on Windows 10:
I create the object:

$PDFCreator = New-Object -ComObject PDFCreator.JobQueue

But when I run it I get the following error:

  • $PDFCreator = New-Object -ComObject PDFCreator.JobQueue
  •           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (: [New-Object], TargetInvocationException

Thanks

Hello,

It happend also to me with the current version of Pdf Creator (4.1.1)
but didn't with the previous installed 4.0

Powershell script and windows 10
bye
eugenio

Found in forum that the COM interface was broken in 4.1.1
upgraded to 4.1.2 and rebooted, now works fine
bye
Eugenio

Tank you very much, updating the version to 4.1.2 everything is ok