During a migration project to Exchange (from Lotus Notes), we installed Outlook using Online mode (because cached mode killed some of the WAN links as an entire mailbox was downloaded). This was good in the short term but now a lot of users still have it enabled.
I would like to try and inventory the clients using SCCM to see if Outlook is running in cached mode or not. I have seen this article but the regkeys are not present on my PC so the script doesn't work: http://learn-powershell.net/2012/08/03/finding-the-cachedmode-setting-in-outlook-2010-using-powershell/, there were other articles saying the same kind of thing but none of them returned an accurate result.
I've tried to use Sysinternals tools to try and monitor which regkeys it uses when setting up a profile but as you can imagine there's a lot and trying to find the exact one is a pain.
Any ideas or pointers (preferably tested/verified) would be greatly appreciated.