Powershell workflow is the best way to program parallel processing using Powershell and/or in Azure run books.
Though the syntax is similar, there are few differences you need to be aware of.
Start with below link when you create your first workflow script:
Learned about Dot Sourcing as well today. Simple example is listed below…