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.


Upgrade toChanges
v17

Follow the manual steps in this article

v18

Custom jobs should be updated to use $job object instead $powerJobs.Job

v19

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

v20

Register the Serial Number for v20 products (and later) on your JobProcessor environment

v21

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

v22Replace $changeOrder.EntityIterationId with $changeOrder.Id and $changeOrder.Number with $changeOrder._Number

powerVault

Upgrade toChanges
v21
Upgrading other products to v21 may be required, as described in this article


See Also

coolOrange Download Zone