Files

8 lines
419 B
PowerShell
Raw Permalink Normal View History

2025-08-09 17:10:51 +00:00
Get-WmiObject -Class Win32_Product | Select-Object -Property Name | Out-GridView
[void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
$Program = [Microsoft.VisualBasic.Interaction]::InputBox('Please enter the name of the program you wish to uninstall', 'Uninstall Program')
$MyApp = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -eq "$Program" }
$MyApp.Uninstall()