Skip to content

Commit d87f3cb

Browse files
authored
Update Get-MobileDeviceStatistics.md
Updates to Example 2 per Issue #2239
1 parent c58f65c commit d87f3cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exchange/exchange-ps/exchange/devices/Get-MobileDeviceStatistics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This example retrieves the statistics for the mobile phone configured to synchro
5959

6060
### -------------------------- Example 2 --------------------------
6161
```
62-
$UserList = Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true -and -not DisplayName -like "CAS_{*"} | Get-Mailbox; $UserList | foreach {Get-MobileDeviceStatistics -Mailbox $_}
62+
$UserList = Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true -and -not DisplayName -like "CAS_{*"} | Get-Mailbox; $UserList | foreach {Get-MobileDeviceStatistics -Mailbox $_.Identity}
6363
```
6464

6565
This example uses the Get-CASMailbox cmdlet to determine who in the organization has an Exchange ActiveSync mobile device. For each mobile device, the Exchange ActiveSync device statistics are retrieved.

0 commit comments

Comments
 (0)