SCCM – Find all powershell detection scripts for applications in your environment

Update: Updated the script to only accept 1 variable and thats DestinationPath, the rest its now automated in the script