Tuesday, April 10, 2018

Uninstall application in DOS

# Find any application with "Nero" or "micro" strings then get their version name and version redirect to a file named result.txt
wmic /OUTPUT:C:\result.txt product where( name like '%Nero%' or name like '%micro%' ) get name,version

# List all the installed application name
wmic product get name

# Find application named "Nero 2018" and unstalling it without prompt
wmic product where name="Nero 2018" call uninstall /nointerative