Use this command line free utility to inventory your users mailboxes (profiles and accounts). Output data can be used in various systems like MS SCCM...
Save and restore default delivery locations for profile
Allows you to control what delivery location is in use by users in your Enterprise
Tested on MS Office Outlook 2003/2007/2010/2013/2016 versions
usage: outlookdeliverychanger.exe <function> <parameter>
where
/list - print on console all mail profiles,accounts,stores for current user
/listxml - export to XML file specified in <parameter> all mail profiles,accounts,stores for current user
/exportdef - export default delivery to XML file specified in <parameter>
/importdef - import default delivery from XML file specified in <parameter>
/setdefmailbox - set default delivery to mailbox
/setdefbypath - set default delivery to PST store path in <parameter>
/delstorebypath - remove store from profile by full path in <parameter>
/dellocalstores - remove all LOCAL stores from profile (not on exchange server)
/delnondefstores - remove all NON DEFAULT delivery (files) stores from profile
Changes:
V1.0 - 2008 Initial private version
...
V1.6 - 15/01/2014
+ Added Outlook 2013 compatibility
v1.7 - 26/11/2019
+ Added Outlook 2016 version compatibility