Trying to do this in PowerShell - looking for a way to identify all the user phones that are connected to a certain mailbox. But most importantly who actually owns that phone, not just a list of "android" or "iPhone" that doesn't tell us who is the user/owner of that device.
Ex. We have a shared mailbox called "OrgCal" and over a dozen users have their phones connected to this mailbox with ActiveSync to use as a shared calendar. We need to know who those users are.
get-mobiledevice -mailbox "OrgCal" gives us a big list of phones but there is no way to associate those phones with their actual user, that we know of.
Any ideas? thank you,