Hi Everyone, hope you're good and safe.
I need to remove from 50 laptops an office 365 add-in using a PowerShell script.
The idea is to use the UninstallString locate in this reg key:
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\5D0478FB0B9D8C775265D27097BB4CDB0B67EEA6.
![192972-image.png][1]
The main point is that the UnistallString change from a compute to another, so probably will need to declare a variable.
And the second point, this script should run in quiet mode, without any interaction for the end-user:
![192955-image.png][2]
I need to skip this.
I was trying to do something more or less like this, but not successful yet:
$testremove = Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -match 'Outlook CRM' } | Select-Object -Property DisplayName, UninstallString
$testremove.uninstall
Could you folks help me out?
Appreciate!