PowerShell commence un processus et attendez qu'il se termine

$proc = Start-Process -Wait -FilePath $procPath -ArgumentList $argument
do{sleep 1}while(Get-Process -Name $procName -ErrorAction SilentlyContinue)
vlT