We are trying to make managers aware of who has users with email on their mobile devices whether company supplied or personal.
I have a task assigned to me. I am trying to learn PowerShell, but my skills are not up to this task yet.
I have been asked to get a list of all mobile devices and their owners/users connected to Exchange 2010 through ActiveSync.
Next step is to find the managers of the Mobile Device owners/users.
Then display/write a report showing Managers and their subordinates with devices connected to ActiveSync
I would like to be able to run the script and have it email the report to the managers.
I do have script that gives me User (FirstName LastName), PrimarySMTPAddress, DeviceType,Device Model, Device OS, lastSyncAttemptTime and LastSuccessSync
I can pull the User field but cannot seem to match it to Get-ADUser data
All help would be greatly appreciated.