This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the DebugPreference to view debug messages | |
$DebugPreference = 'Continue' | |
# Download and import the CSV | |
$url = "https://gist.githubusercontent.com/mttaggart/02ed50c03c8283f4c343c3032dd2e7ec/raw/8ad740330a071694450e7b84482b389e6a94abb0/20230927_electron-versions.csv" | |
$csvContent = Invoke-WebRequest -Uri $url -UseBasicParsing | |
$apps = $csvContent.Content | ConvertFrom-Csv | |
# Expanded registry paths to search for installed apps | |
$registryPaths = @( |