Skip to content

Instantly share code, notes, and snippets.

View thai510-new's full-sized avatar

Ian Alexander thai510-new

View GitHub Profile
# 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 = @(