Uninstall applications via PowerShell directives/cmdlets

Using PowerShell cmdlets you can remove software in Windows that were installed via MSI.

$app = Get-WmiObject -Class Win32_Product | Where-Object { 
    $_.Name -match "AppName" 
}

$app.Uninstall()

...will uninstall software that have "AppName" in its name.

Comments

Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

Java 8: Default Interface Implementations, The Diamond Problem, Multiple Inheritance, and Precedence

Tuning ext3 for performance without losing its data integrity potential