.net - Is it possible to run multiple powershell scripts, in order, with waiting for completion before launching next? -


i have 3 powershell ise scripts.

script1.ps1, script2.ps1, script3.ps1

is possible run scripts, in order given? when asking not suggesting parallel behaviour, rather synchronious one. execute script2, must wait script1 finish, execute script3 must wait script2 finish, etc.

cheers...

.\script1.ps1 .\script2.ps1 .\stript3.ps1 

all in *.ps1 file that'll started in ps yourself.


Comments