Dont recommend using powershell unless you really have to, its annoying to get it allowed on the users PC.
getprograms.ps1