commit b6db850df4ca07f1c58a0d80c8c987d142466555 Author: maxxi Date: Wed Mar 25 23:25:05 2026 +0100 initial project push diff --git a/Get-InstalledSoftware.ps1 b/Get-InstalledSoftware.ps1 new file mode 100644 index 0000000..1fc7033 --- /dev/null +++ b/Get-InstalledSoftware.ps1 @@ -0,0 +1,27 @@ +function Get-InstalledSoftware { + $paths = @( + "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*", + "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" + ) + + $software = foreach ($path in $paths){ + Get-ItemProperty $path -ErrorAction SilentlyContinue | + Where-Object { $_.DisplayName } | + Select-Object @{ + Name = "Name"; Expression = { $_.DisplayName } + }, @{ + Name = "Version"; Expression = { $_.DisplayVersion } + }, @{ + Name = "Publisher"; Expression = { $_.Publisher } + }, @{ + Name = "InstallDate"; Expression = { $_.InstallDate } + } + } + + return $software | Sort-Object name -Unique +} + +$timestamp = Get-Date -Format "MM-dd-yyyy-HH-mm" + +# Get-InstalledSoftware | Format-Table +Get-InstalledSoftware | ConvertTo-Json | Out-File "software_$($timestamp).json" \ No newline at end of file diff --git a/software_03-25-2026-22-52.json b/software_03-25-2026-22-52.json new file mode 100644 index 0000000..9224e2d Binary files /dev/null and b/software_03-25-2026-22-52.json differ