#Out Put Grid
Get-CimInstance -ComputerName (Get-Content C:\Temp\Computer.txt) -ClassName win32_product -ErrorAction SilentlyContinue | Select-Object PSComputerName, Name, PackageName, InstallDate | Out-GridView
#Out Put text file
Get-CimInstance -ComputerName (Get-Content C:\Temp\Computer.txt) -ClassName win32_product -ErrorAction SilentlyContinue | Select-Object PSComputerName, Name, PackageName, InstallDate | Out-File -FilePath c:\temp\apps.txt