> ## Documentation Index
> Fetch the complete documentation index at: https://ps365.clidsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get-ExMobileDeviceInfo

> Retrieves detailed information about mobile devices associated with user mailboxes.

# Get-ExMobileDeviceInfo

## SYNOPSIS

Retrieves detailed information about mobile devices associated with user mailboxes.

## SYNTAX

```powershell theme={null}
Get-ExMobileDeviceInfo [[-UserPrincipalName] <string[]>]
```

## DESCRIPTION

This script fetches mobile device details for specified user mailboxes or all mailboxes if none are specified.

## EXAMPLES

### EXAMPLE 1

```powershell theme={null}
Get-ExMobileDeviceInfo
```

Retrieves mobile device details for all user mailboxes.

### EXAMPLE 2

```powershell theme={null}
"
```

Retrieves mobile device details for the specified user.

## PARAMETERS

### -UserPrincipalName

An array of User Principal Names (UPNs) to retrieve mobile device details for.
If not provided, details for all mailboxes will be retrieved.

```yaml theme={null}
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
[about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### System.String\[]

*Not documented.*

## OUTPUTS

## NOTES

Author: Bastien Perez

Works with both Exchange Online and on-premises Exchange environments and uses the appropriate cmdlets based on the environment.

## RELATED LINKS

* [https://ps365.clidsys.com/docs/commands/Get-ExMobileDeviceInfo](https://ps365.clidsys.com/docs/commands/Get-ExMobileDeviceInfo.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.