Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1198
  • Last Modified:

Powershell script to find all activesync users for Exchange 2013?

Hello, can anyone provide a Powershell script to find all activesync users for Exchange 2013?  THanks.
0
LB1234
Asked:
LB1234
1 Solution
 
becraigCommented:
Here is an example straight from MS using the exchange cmdlets
EXAMPLE 2

This example uses the Get-CASMailbox cmdlet to determine who in the organization has a Microsoft Exchange ActiveSync mobile device. For each mobile device, the Exchange ActiveSync device statistics are retrieved.

$UserList = Get-CASMailbox -Filter {hasactivesyncdevicepartnership -eq $true -and -not displayname -like "CAS_{*"} | Get-Mailbox
 
$UserList | foreach { Get-ActiveSyncDeviceStatistics -Mailbox $_}

http://technet.microsoft.com/en-us/library/aa996908%28v=exchg.150%29.aspx
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now