Get-EXOMobileDeviceStatistics
此 cmdlet 仅在 Exchange Online PowerShell 模块中可用。 有关详细信息,请参阅关于 Exchange Online PowerShell 模块。
使用 Get-EXOMobileDeviceStatistics cmdlet 检索配置为与指定用户的邮箱同步的移动设备列表,并返回有关移动设备的统计信息列表。
有关以下语法部分的参数设置的详细信息,请参阅 Exchange cmdlet 语法。
语法
Get-EXOMobileDeviceStatistics
[-Identity <String>]
[-ActiveSync]
[-ExternalDirectoryObjectId <Guid>]
[-GetMailboxLog]
[-NotificationEmailAddresses <String[]>]
[-OWAforDevices]
[-PrimarySmtpAddress <String>]
[-RestApi]
[-ShowRecoveryPassword]
[-UniversalOutlook]
[-UserPrincipalName <String>]
[<CommonParameters>]
Get-EXOMobileDeviceStatistics
[-Mailbox <String>]
[-ActiveSync]
[-GetMailboxLog]
[-NotificationEmailAddresses <String[]>]
[-OWAforDevices]
[-RestApi]
[-ShowRecoveryPassword]
[-UniversalOutlook]
[<CommonParameters>]
说明
此 cmdlet 返回有关每个移动设备的统计信息列表。 此外,该命令还可以检索日志并将这些日志发送给收件人以方便排除故障。
示例
示例 1
Get-EXOMobileDeviceStatistics -Mailbox john.doe@contoso.com
此示例返回通过电子邮件链接到用户的所有设备的统计信息 john.doe@contoso.com
示例 2
Get-EXOMobileDeviceStatistics -Mailbox john.doe@contoso.com -ActiveSync
此示例返回通过电子邮件链接到用户的活动同步设备的统计信息 john.doe@contoso.com
参数
-ActiveSync
ActiveSync 开关按Exchange ActiveSync设备筛选结果。 不必为此开关指定值。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-ExternalDirectoryObjectId
ExternalDirectoryObjectId 参数标识要通过 Azure Active Directory 中的 ObjectId 查看的邮箱。
不能将此参数与 Identity、PrimarySmtpAddress 或 UserPrincipalName 参数一起使用。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-GetMailboxLog
保留此参数以供 Microsoft 内部使用。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-Identity
Identity 参数指定要查看的移动设备。 可以使用唯一标识移动设备的任何值。 例如:
- GUID
- DeviceID
不能将此参数与 ExternalDirectoryObjectId、Mailbox、PrimarySmtpAddress 或 UserPrincipalName 参数一起使用。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-Mailbox
Mailbox 参数按与移动设备关联的用户邮箱筛选结果。 可以使用能够唯一标识邮箱的任意值。 例如:
- GUID
- 用户 ID 或用户主体名称 (UPN)
不能将此参数与 Identity、PrimarySmtpAddress 或 UserPrincipalName 参数一起使用。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-NotificationEmailAddresses
保留此参数以供 Microsoft 内部使用。
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-OWAforDevices
OWAforDevices 开关按启用了设备Outlook 网页版的设备筛选结果。 不必为此开关指定值。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-PrimarySmtpAddress
PrimarySmtpAddress 按主 SMTP 电子邮件地址 (标识要查看的邮箱, navin@contoso.com 例如,) 。
不能将此参数与 ExternalDirectoryObjectId、Identity 或 UserPrincipalName 参数一起使用。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-RestApi
RestApi 开关按 REST API 设备筛选结果。 不必为此开关指定值。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-ShowRecoveryPassword
保留此参数以供 Microsoft 内部使用。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-UniversalOutlook
UniversalOutlook 开关按邮件和日历设备筛选结果。 不必为此开关指定值。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-UserPrincipalName
UserPrincipalName 参数标识要由 UPN (查看的邮箱, navin@contoso.onmicrosoft.com 例如,) 。
不能将此参数与 ExternalDirectoryObjectId、Mailbox、Identity 或 PrimarySmtpAddress 参数一起使用。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Exchange Online |