Do you want to request a feature or report a bug?
Feature
What is the current behavior?
No dynamic code can be executed during Wait-RSJob execution
What is the expected behavior?
Provide two parameters to Wait-RSJob : -Batch and -BatchExecutionCycleCount so that, everytime a wait-loop iteration is performed, it checks if it's in the $BatchExectionCycleCount and if so, it would execute the code in $Batch