I have 6+ scripts and growing to run on a folder, what is the best way to have them run one after the other.
I have seen and tried this thread - it did not work unfortun
Are you hard coding the paths to the files in the master file?
In this case something like this should work
Invoke-Expression "C:\Users\WP\Desktop\Scripts\1.ps1" Invoke-Expression "C:\Users\WP\Desktop\Scripts\2.ps1" Invoke-Expression "C:\Users\WP\Desktop\Scripts\3.ps1"