Note that vSphere itself already throttles the number of parallel vMotions.
If you want to divert from the number of parallelism from vSphere, you will have to indeed use the Get-Task cmdlet and monitor the number of "running" tasks of type vMotion.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference