From the course: PowerShell for Exchange Administration

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Finding ActiveSync devices

Finding ActiveSync devices

- [Instructor] To get started finding your ActiveSync devices in Exchange, you either need to have an Exchange PowerShell session open, or be running these commands inside the Exchange Management Shell. Though, you can see here, I've got an Exchange Powerful session open, since I'm running in the ISC. So, before you check for ActiveSync devices, you can check to see if certain mailboxes have ActiveSync enabled. So, for instance, on line 20, using the Get-CASMailbox commanlet, we can look at the Anthony mailbox, and see the ActiveSync enabled is set to true. Or, if we wanted to look at all of our mailboxes, we can pipe Get-CASMailbox to the Where-Object commanlet. Looking for devices that have ActiveSync enabled. Give that a second. You can see that I've got a lot of users with ActiveSync enabled. In fact, I know that it's all of them. So, with that in mind, we can use the Get-ActiveSyncDevice commanlet. This is for older versions of Exchange. Now, I'm running this on Exchange 2019, so…

Contents