Sign in to follow this  
Followers 0

Trying to read what is in add remove programs

1 post in this topic

#1 ·  Posted (edited)

I'm trying to read a list of programs installed to an array view list, or notepad file.

By using:

$i = 1
$i = $i+1
$var = RegEnumkey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", $i)
until $i = 100

I'm trying to get a list of the items into an array, then read the "DisplayName" string from each of the keys... But I can't figure out how to do this...

Can someone help me a little on this?


Edited by Klexen

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0