Get Outlook Cache Mode Status as Custom Inventory

Get Outlook Cache Mode Status as Custom Inventory

If you have an Exchange environment, this is a must-have. A lot of troubleshooting steps begin with disabling Outlook Cache Mode. There are also some Outlook addons that play well with Cache Mode. This script can be used with Inventory Solution to report Cache Mode status for all profiles on a computer.

Just drop this in your Inventory Solution, and call it from the command line in your Inventory Solution Package. It will create the .nsi file on its own, and it's designed to run under the SYSTEM account so you won't have any issues with lack of writing files to the hard drive (as it needs to create the .nsi on the express\inventory directory). The script parses the directory, gives the Outlook profile, and an "on" for cache mode on, and "off" for cache mode off. Easy? You bet. Try it out!

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.
4.32
Average: 4.3 (25 votes)
AttachmentSize
CacheModeStatus.txt4.26 KB

Nice work!

Nice job EMercado; I've been trying to figure out how to reliably parse the CEM settings out of the profile for a while now, and it looks like you've figured it out. I wasn't familiar with that Join() function you used; I think that was my missing bit.

Also, I don't get an actual name in the C0 column when I run this; for some reason it gives me a number (I'm guessing this is some Exchange account identifier or something, or maybe just something weird with how we have Exchange setup here). I found my userid was in the value "001e6607" in the profile key which might be another option (and the one I'll need to use if/when I implement this tip!).

Thanks again for posting!

Interesting

In my environment, the key "001e667c" contains some weird letters and numbers (yes, like some kind of GUID), and key "001e6603" contains the Exchange DN. I guess you could just change Line 73 to reflect the key where your Exchange DN is. Hope this helps!

Syndicate content