This script will find all software installed to a computer and sort them by name and export the list to a txt file for easier reading.
Here we go:
invoke-command {Get-Package -ProviderName Programs -IncludeWindowsInstaller | Sort Name | FT -Auto} > C:\TempPath\progs.txt