Applies to: Exchange Server 2013

Topic Last Modified: 2012-07-06

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

For information about the parameter sets in the Syntax section below, see Syntax.

Syntax

Get-MobileDevice -Mailbox <MailboxIdParameter> <COMMON PARAMETERS>
Get-MobileDevice [-Identity <MobileDeviceIdParameter>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-ActiveSync <SwitchParameter>] [-DomainController <Fqdn>] [-Filter <String>] [-Organization <OrganizationIdParameter>] [-OrganizationalUnit <OrganizationalUnitIdParameter>] [-OWAMobileApp <SwitchParameter>] [-ResultSize <Unlimited>] [-SortBy <String>]

Examples

EXAMPLE 1

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

Copy Code
Get-MobileDevice -Identity "TonySmith"

EXAMPLE 2

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

Copy Code
Get-MobileDevice -Mailbox "Redmond\TonySmith" 

Detailed Description

The Get-MobileDevice cmdlet returns identification, configuration, and status information for each mobile 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 "Mobile devices user settings" entry in the Clients and Mobile Devices Permissions topic.

Parameters

Parameter Required Type Description

Mailbox

Required

Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter

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

ActiveSync

Optional

System.Management.Automation.SwitchParameter

The ActiveSync switch specifies whether to include mobile devices that synchronize with Exchange ActiveSync.

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 mobile devices.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.MobileDeviceIdParameter

The Identity parameter specifies the device to retrieve. One of the following values is used to identify a mobile device in Active Directory:

  • GUID

  • DeviceIdentity

  • Multi-TenantID

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

This 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.

OWAMobileApp

Optional

System.Management.Automation.SwitchParameter

This parameter is reserved for future use.

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.

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.