A simple PowerShell script can inventory installed applications and help determine what stays and what goes during a PC refresh.