AFAIK, `-Wait` does not work fine with PowerShell 3.0 if that's the case, I'd suggest using `call` or something similar to wait until command finishes.