Powershell script for executing exe's within the subfolder.
I need a powershell scripts, which can execute all exe's which are present in a folder and in their subfolders.
1) c:\New Folder\Admin\Setup.exe
2) c:\New Folder\Commerical\Setup.exe
3) c:\New Folder\Maintenance\Setup.exe
4) c:\New Folder\SSRS\Setup.exe
and so on..............
Note: Above all setup.exe are plugins which will go into its base setup, that has been installed at c:\BaseApplication\Voy\
Can someone please write such script for me?
Thanks in Advance...