Export (0) Print
Expand All
Related Help Topics
Loading
No resources found.
Related Blog Articles
Loading
No resources found.
Expand Minimize

Get-ActiveSyncDeviceClass

[This topic is in progress.]  

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2011-05-03

Use the Get-ActiveSyncDeviceClass cmdlet to retrieve a list of mobile phones or devices that have connected to the servers running Microsoft Exchange Server 2010 in an organization. The cmdlet returns the mobile phone or device type and model information.


Get-ActiveSyncDeviceClass [-Identity <ActiveSyncDeviceClassIdParameter>] [-DomainController <Fqdn>] [-Filter <String>] [-Organization <OrganizationIdParameter>] [-SortBy <String>]

You can use this cmdlet to view a list of mobile phones or devices by type. For example, you can return a list of all Apple iPhone mobile digital devices in the organization or all Windows Mobile devices with the DeviceType of PocketPC.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Exchange ActiveSync settings" entry in the Client Access Permissions topic.

 

Parameter Required Type Description

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.

Filter

Optional

System.String

The Filter parameter specifies the attribute by which to filter the data. The following attributes are supported:

  • DeviceType
  • DeviceModel

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.ActiveSyncDeviceClassIdParameter

The Identity parameter specifies the group of devices on which to scope the task.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

This parameter is available for multi-tenant deployments. It isn't available for on-premises deployments. For more information about multi-tenant deployments, see Multi-Tenant Support.

The Organization parameter specifies the organization in which you'll perform this action. This parameter doesn't accept wildcard characters, and you must use the exact name of the organization.

SortBy

Optional

System.String

The SortBy parameter specifies the attribute by which to sort the results. You can sort by only one attribute at a time. You can sort by the following attributes:

  • DeviceType
  • DeviceModel

The results are sorted in ascending order.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

 

Error Description

 

This example returns a list of all devices with the DeviceType of PocketPC.

Get-ActiveSyncDeviceClass -Filter {DeviceType -eq "PocketPC"}

This example lists all device types within the organization along with a count of the number of devices of each type present.

Get-ActiveSyncDeviceClass | group-object -property DeviceType
 © 2010 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft