Today, whilst troubleshooting an Outlook add-in issue, I was asked by one of the vendors to provide a list of Outlook add-ins. Rather than take a screenshot, I wanted to do this in PowerShell as then I could invoke it remotely on the machine in question without disturbing the user.
Here’s how I achieved this:
$searchScopes = "HKCU:\SOFTWARE\Microsoft\Office\Outlook\Addins","HKLM:\SOFTWARE\Wow6432Node\Microsoft\Office\Outlook\Addins" $searchScopes | % {Get-ChildItem -Path $_ | % {Get-ItemProperty -Path $_.PSPath} | Select-Object @{n="Name";e={Split-Path $_.PSPath -leaf}},FriendlyName,Description} | Sort-Object -Unique -Property name
This results in a neat text-based table that can be pasted into an email:
Great! Worked a treat for me. Here’s a word of warning to anyone using it though, you need to put in the backslash character separator between the various levels in the registry. I think pasting the code in to the content here lost it for Daniel S as it must have been stripped out by the parser, i.e. HKCU:Software and then a backslash as a separator for subsequent levels like Microsoft backslash Office etc.
LikeLike
Thanks for the heads-up. It appears that the formatting got messed up when I moved my blog to wordpress.com.
I’ve corrected the PowerShell code now.
LikeLike
Awesome.Thank you.
LikeLike
Thanks this worked great for me today.
LikeLike
This is fantastic and still works in 2019. Thank you.
LikeLike
This was extremely helpful. Thank you! One thing that I’ve found is a plugin will be installed but not enabled. Do you have an idea of how to show that the plugin is installed, and enabled/disabled?
LikeLike
Hi! Sorry, I’ve not had to do that before. Have you done some digging around in the registry? That’s all I do, and then use that information in my scripts.
LikeLike
can we display the status of the addin? enabled or disabled
thanks!
LikeLike
Hi. Yes, you should be able to add “,LoadBehavior” after “FriendlyName,Description”. The only caveat is that you may need to pipe the second line to Out-GridView or Format-List as the extra column is too wide for Format-Table.
LikeLike