PDF creator as COM Object could not be initialized

Hallo to everyone
I tried to use PDF creator (version 4.4.0 on Windows 10) in a Power Shell Script:

$PDFCreator = New-Object -ComObject PDFCreator.JobQueue
$PDFCreatorQueue.Initialize()

I got the exception:

  •    $PDFCreatorQueue.Initialize()
    
  •    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:slight_smile: [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

Thanks,.
Paolo