Application list into txt script

Discussion in 'Windows 10' started by beardedmac, Jul 12, 2019.

  1. beardedmac

    beardedmac MDL Novice

    Joined:
    Jul 12, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi All,

    Sorry if this has been covered before however I could not find an appropriate thread within the forum pages.

    I currently am trying to automate the following process but have come unstuck with coding ability.

    Essentially, using powershell I need to collect the applications (incl version number) that are installed on a workstation, auto extract that data into a text file and (eventually) export it into a MS excel s/s.
    In notepad I have run a variety of commands such as ##Get-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | select-object displayname, version | sort## however they produce different bodies of information none of which are complete.
    I have tried hitting the uninstaller path (as above) and hkcr:\installer\products\* as well.

    If anyone knows how to do this an easier way or simplify this process, further information would be great.


    Thanks
     
  2. BAU

    BAU MDL Addicted

    Joined:
    Feb 10, 2009
    Messages:
    943
    Likes Received:
    2,042
    Trophy Points:
    30
  3. sebus

    sebus MDL Guru

    Joined:
    Jul 23, 2008
    Messages:
    6,201
    Likes Received:
    1,945
    Trophy Points:
    210
    While very nice, it saves with .csv extension, but it is pipe delimited text, so for Excel to open correctly (giving choice to specify delimiter character), it needs to be saved with .txt extension