> ## 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 MobileDeviceInfo

## SYNOPSIS

Retrieves detailed information about mobile devices associated with user mailboxes.

## SYNTAX

```powershell theme={null}
Get-MobileDeviceInfo [[-UserPrincipalName] <String[]>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]
```

## 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-MobileDeviceInfo
```

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: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### CommonParameters

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

## INPUTS

## 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-MobileDeviceInfo](https://ps365.clidsys.com/docs/commands/Get-MobileDeviceInfo)
