An open API service indexing awesome lists of open source software.

https://github.com/frozenassassine/listinstalledprograms

A powershell script to view installed applications with version, install date and chocolatey availability
https://github.com/frozenassassine/listinstalledprograms

chocolatey powershell

Last synced: 4 months ago
JSON representation

A powershell script to view installed applications with version, install date and chocolatey availability

Awesome Lists containing this project

README

          

# 📋 README

## 🌟 Overview
This repository provides a tool to manage and compare installed applications on Windows. It generates a list of installed apps and checks their availability in Chocolatey.

## 🛠 Features
- **List Installed Apps**: Collects all applications installed on your Windows device from different registry locations:
- HKLM (HKEY_LOCAL_MACHINE)
- HKCU (HKEY_CURRENT_USER)
- HKLM Wow6432Node
- **Compare with Chocolatey**: Identifies which installed apps are available in the Chocolatey package manager.
- **Export to CSV**: Creates a CSV file containing:
- **Name**: The name of the app
- **Version**: The version of the app
- **Install Date**: When the app was installed
- **Source**: Indicates whether the app is from Chocolatey, HKLM, HKCU, or HKLM Wow6432Node
- **HTML Visualization**: Provides a table to visualize the data in an HTML format.

## 📥 Getting Started
1. Clone this repository.
2. Ensure you have Chocolatey installed on your Windows device.
3. Run the script to generate the list of installed apps.
4. Check the generated CSV file for details.

## 💻 How to use the class
Create an instance of the InstalledAppManager class and call the getData function on it. This will return an array with items of kind InstalledApp
```sh
#get the data as an array of type InstalledApp
$allApps = [InstalledAppManager]::new().getData()

#export to CSV format
$allApps | Export-Csv "finalList.csv" -NoTypeInformation
```

## 📊 Output
The generated CSV file will include:
- **Device Name**: The name of your device
- **Display Name**: The name of each installed app
- **Display Version**: The version of each app
- **Install Date**: The installation date of each app
- **Source**: The origin of the app (Chocolatey, HKLM, HKCU, or HKLM Wow6432Node)

Feel free to contribute or ask questions! 😊