C # Problem when running PowerShell Scripts in a loop

0

I am running a series of PS scripts using a foreach loop (which pulls a .txt in which are the paths of the scripts), the problem is that all are executed at once and consequently the progress bar does not advance as the execution of the script (progresses very fast, I do not want to put timers, I want that when the script finishes executing, the progress bar).

Another problem is the tag that shows what script is loading, it shows me only the last of the scripts.

I do not know if there is any way to "stop" the process in the loop and then resume it again.

Greetings and thanks for the help.

    
asked by Avilchez 24.06.2018 в 18:05
source

0 answers