i'm trying to run a script which will run another powershell script. i need the first script to continue only after the other one is over. something like:
start Copy.ps1
wait till Copy.ps1 is done
continue with the script
tried using the Invoke-Expression but it doesn't have wait parameter.