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.
Syntax
Get-ActiveSyncDeviceClass [-Identity
<ActiveSyncDeviceClassIdParameter>] [-DomainController
<Fqdn>] [-Filter <String>] [-Organization
<OrganizationIdParameter>] [-SortBy <String>]
|
Detailed Description
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.
Parameters
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:
|
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:
The results are sorted in ascending order. |
Input Types
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.
Return Types
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.
Errors
Error | Description |
---|---|
|
Examples
EXAMPLE 1
This example returns a list of all devices with the DeviceType of PocketPC.
Copy Code | |
---|---|
Get-ActiveSyncDeviceClass -Filter {DeviceType -eq "PocketPC"} |
EXAMPLE 2
This example lists all device types within the organization along with a count of the number of devices of each type present.
Copy Code | |
---|---|
Get-ActiveSyncDeviceClass | group-object -property DeviceType |