How can you check if powerJobs uses Inventor or Inventor Server for PDF generation?

Issue

How to verify if powerJobs uses Inventor or Inventor Server to handle a specific job

Solution

The Open-Document Cmdlet writes the Application name into its return value. For example

$openResult = Open-Document -LocalFile $file.LocalPath -Options @{ FastOpen = $fastOpen }
$openResult.Application.Name

If you want to read this during job execution  you can modify your job temporarily to display a message box.  

Before you make any changes to your job create a backup!

For the Sample.CreatePDF job you do this by inserting a messagebox right after the Open-Document call and saving the file.

$openResult = Open-Document -LocalFile $file.LocalPath -Options @{ FastOpen = $fastOpen }
$null = [System.Windows.MessageBox]::Show($openResult.Application.Name)
Afterwards queue the job for any drawing and watch the job processor. If powerJobs uses full Inventor the message box will display "Inventor", otherwise "InventorServer".
 

 

The message box might be hidden behind the powerJobs GUI. Move it to the side if it looks like the job has been frozen

Afterwards make sure to revert your changes. The messagebox will block all consecutive jobs otherwise.