NetRock6
asked on
PS call executable Files in Order
Hi ...
I have a Folder with executable files, using powershell what is the best way to call each of them, wait making sure each is finshed before starting the next one....
Also, each exe files need to be called by the order: name ascending.
Thank you for your help...
I have a Folder with executable files, using powershell what is the best way to call each of them, wait making sure each is finshed before starting the next one....
Also, each exe files need to be called by the order: name ascending.
Thank you for your help...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
sorry I didn't test that change
Write-Debug -InputObject ('Starting {0}' -f $exe)
to
Write-Debug ('Starting {0}' -f $exe)
Write-Debug -InputObject ('Starting {0}' -f $exe)
to
Write-Debug ('Starting {0}' -f $exe)
ASKER
Thanks ....Keep Up the Good Job! ;)
ASKER
On the PowerShell V.5, "Write-Debug -InputObject ....." is not working. It cannot find a match for 'InputObject'.