Can someone help me with a simple script that sends two keys (TAB and then Enter) to an uninstall prompt?
I am trying to silently uninstall IObit Uninstaller but the /silent /supressmsgboxes
does not work.
This is what I have so far:
Start-Process "C:\Program Files (x86)\IObit\IObit Uninstaller\unins000.exe"
[System.Windows.Forms.SendKeys]::SendWait("{TAB}")
[System.Windows.Forms.SendKeys]::SendWait("{ENTER}")
It doesn't return an error, but it doesn't work either.
Regards, Alex