powershell scripts to identify the number of users using outlook in online and cached mode

Hello Experts.

Is there a PowerShell script or utility that can be used to identify and export all mailboxes using outlook in cached mode and online mode?

In addition to request above, is there a PowerShell script that can be used to force all users in a spreadsheet to use outlook in cached mode, and or switch from online to cached mode?
Jerry SeinfieldAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Jerry SeinfieldAuthor Commented:
I did follow steps from link below but the list of users returned appears not to be accurate

http://social.technet.microsoft.com/wiki/contents/articles/28446.exchange-determining-the-list-of-users-connected-in-outlook-onlinecached-mode.aspx

I did check the spreadsheet returned for a few users that were on classic or online mode, and check user's outlook configuration and it was on cached mode. The same users have IPhones, devices using active sync, I wonder if users with active sync devices will show as they are connected to MBX and CAS servers using online mode?
pcmghouseCommented:
This should be a question related to AD. I would not go into looking for the exchange logs. It should be a setting at the client level.
By default outlook goes into cached mode. Create a AD group policy such that users cannot change the mode from cached to online.
For users who need to be in online mode, Create a security group called OutlookOnlineMode. Create a Group policy which puts users in online mode. Apply this group policy to this group. add the users to this group.

If you have a separate AD admin, they should be able to handle this case easily. And it will be a full time solution.

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
Exchange

From novice to tech pro — start learning today.