Export (0) Print
Expand All

Get-ActiveSyncDevice

Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the Get-ActiveSyncDevice cmdlet to retrieve the list of devices in your organization that have active Microsoft Exchange ActiveSync partnerships.


Get-ActiveSyncDevice [-Identity <ActiveSyncDeviceIdParameter>] [-DomainController <Fqdn>] [-Filter <String>] [-Organization <OrganizationIdParameter>] [-OrganizationalUnit <OrganizationalUnitIdParameter>] [-ResultSize <Unlimited>] [-SortBy <String>]


Get-ActiveSyncDevice -Mailbox <MailboxIdParameter> [-DomainController <Fqdn>] [-Filter <String>] [-Organization <OrganizationIdParameter>] [-OrganizationalUnit <OrganizationalUnitIdParameter>] [-ResultSize <Unlimited>] [-SortBy <String>]

Parameter Required Type Description

Mailbox

Required

Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter

The Mailbox parameter specifies the user whose Exchange ActiveSync devices you want to retrieve.

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 a set of attributes used to filter the list of returned devices.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.ActiveSyncDeviceIdParameter

The Identity parameter specifies the device to retrieve. It can be one of the following values used to identify a device in Active Directory:

  • GUID
  • DeviceIdentity
  • Multi-TenantID

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

OrganizationalUnit

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationalUnitIdParameter

The OrganizationalUnit parameter specifies the organizational unit (OU) where the task is run.

ResultSize

Optional

Microsoft.Exchange.Data.Unlimited

The ResultSize parameter specifies the maximum number of results to return.

SortBy

Optional

System.String

The SortBy parameter specifies the attribute to sort by.

The Get-ActiveSyncDevice cmdlet returns identification, configuration, and status information for each device.

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 user settings" entry in the Client Access Permissions topic.

This example returns all of the Exchange ActiveSync devices that Tony Smith has used that are associated with his mailbox.

Get-ActiveSyncDevice -Identity "TonySmith"

This example returns all of the Exchange ActiveSync devices that Tony Smith has used that are associated with his mailbox.

Get-ActiveSyncDevice -Mailbox "Redmond\TonySmith" 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft