I run scripts in folders - Each folder(Build 01, Build 02 etc) contains a batch file that executes the ps1 file in that particular folder. I would like to have a batch file that executes each ps1 file in each folder in order.
c:/Build 01 - sp_script.ps1
c:/Build 02 - sp_script.ps1
c:/Build 03 - sp_script.ps1
My Batch file contains:
cd /d %~dp0
powershell.exe -File sp_script.ps1
pause