No problems.
You could improve your script by assigning a variable to "Start-Process" and then check it's exitcode to determine whetever it was successful. Otherwise there is no point in the -passthru argument.

Don't know what you're deploying through, but without proper exitcode handling when deploying software with powershell scripts through SCCM - you'll have a bad time.