gp HKLM:SoftwareMicrosoftWindowsCurrentVersionUninstall* |Select DisplayName, DisplayVersion, Publisher | export-csv c:apps.csv