PowerShell code to wait for background process to finish and continue0 (0)

Views: 310 While this code was originally developed for an Exchange script, you can use it for any PowerShell script where you want to make sure some background process/service is finished before proceeding on with the rest of your script.…