Why This Matters: Uninstalling software from the command line is faster, scriptable, and avoids digging through Control Panel menus. With PowerShell and Winget, you can remove apps cleanly and automate the process.
⚙️ Command Method (WMIC / WMIObject)
# List installed programs wmic product get name # Uninstall by exact name wmic product where name="Software Name" call uninstall
💡 Alternative modern PowerShell:
Get-WmiObject -Class Win32_Product |
Where-Object { $_.Name -eq "Software Name" } |
ForEach-Object { $_.Uninstall() }
⚙️ Winget Method (Modern Windows Package Manager)
# List all installed apps winget list # Uninstall by name winget uninstall "System Mechanic" # Batch uninstall multiple apps winget uninstall "Viber" winget uninstall "Webex"
📌 Takeaway
- PowerShell uninstall → Works on older systems, scriptable.
- Winget uninstall → Modern, faster, integrates with Microsoft Store apps.
- Winget list → Quick way to see what’s installed.
With these two methods, Kapothi admins can keep their systems clean and efficient without ever opening Control Panel.