troubleshooting Question

Powershell looping and launching through folders

Avatar of Sukpal Johal
Sukpal Johal asked on
Powershell
26 Comments1 Solution124 ViewsLast Modified:
Hi,
I am trying to run a Powershell script that will loop through a folder directory which contains sub folders and what I want to do is launch everything within the main folder directory and wait for the user input to continue before launching everything in each sub folders one by one but waiting for the user input before continuing down all the sub folders. So folder A contents are launched, the script waits for the user to say continue, once continue the script launches folder B's contents etc. Once complete down all sub folders, prompt that all files have now been launched.
ASKER CERTIFIED SOLUTION
Thomas U

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 26 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 26 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros