get remote PCs outlook pst file path.

we have some remote PCs that contain users outlook pst files.

is there any script (powershell, wmic, vbs, etc) to get for each user in that remote PC , the path of the pst files mounted in Outlook (2010, 2013, 2016)?
Ding QBvpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SteveCommented:
The registry is the easiest place to find this. All PSTs/OSTs are included in search catalog so thats probably the easiest place to look.

get on one of your machines and check the following registry keys:
Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\<Version ID>\Outlook\Search
Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\<Version ID>\Outlook\Search\Catalog

This contains a Reg_Dword item and uses the fuill path to the PST/OST as the key label.
You could export this key or output the key names to a file/central location via a script.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.