helpers/ModulesTillPublishedonGallery/PoshRSJob/1.7.4.4/Private/Increment.ps1

Function Increment {
    Write-Verbose "Incrementing job ID"
    Set-Variable -Name PoshRS_JobId -Value ($PoshRS_JobId + 1) -Force -Scope Global
    Write-Output $PoshRS_JobId
}