During mass reainstallation/redeployment/migration of large number of PCs, always question about applications is raised.
How to deploy/deliver applications once all machines are resintalled?
If you have SCCM in the infrastructure, this might help a lot with automation. All you need is mapping between computer name and applications (to be more specific collection ids) and PowerShell console on SCCM server.
Then you just need to prepare input files for the script below and you can automate application deployment on mass scale.