Here are 2 quick lines of code that help you uninstall a Program:
$Prog = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -match “ProgramName”}$Prog.Uninstall()
Sign up to receive awesome content in your inbox, every month.
Check your inbox or spam folder to confirm your subscription.