This article offers an overview of the breaking changes and the recommended changes so that your customization still works after an upgrade.
When upgrading from e.g. version v19 to v21 make sure to follow the steps to upgrade to the latest v19 version first, then follow the steps for upgrading to v20 and finally to v21.
Follow the manual steps in this article
Custom jobs should be updated to use $job object instead $powerJobs.Job
Custom jobs should be updated to use the Write-Host instead Add-Log
Additionally replace $result.ErrorMessage with with $result.Error.Message in all the scripts and modules
Register the Serial Number for v20 products (and later) on your JobProcessor environment
The Serial Number or Activation File has to be registered again on your JobProcessor environment
Custom jobs should be updated to use the functions from the Applications module instead of Get-PowerJobs
Upgrading other products to v21 may be required, as described in this article
Start powerJobs at least once to register the jobs again
Custom jobs should be updated to use $Host.Applications instead of $powerJobs
Use the Environment variable POWERJOBS_PROCESSORDIR instead of POWERJOBS_DLL
|v22||Replace $changeOrder.EntityIterationId with $changeOrder.Id and $changeOrder.Number with $changeOrder._Number|
|Upgrading other products to v21 may be required, as described in this article|