Hi
I have the following in my script.
My question is does the code below wait for bootstrap.ps1 to complete before removing the itself?
Will the bootstrap.ps1 continues to run if itself is deleted?
logit "Executing bootstrap.ps1 from ${basedir}\payload\"
& "${basedir}\load\bootstrap.ps1" | tee-object -filepath ${log} -append
logit "Cleaning up"
Remove-Item -Confirm:$false ${basedir}\load -Recurse