- Windows Mobile (Important: After applying the patch you MUST manually change your time zone once then switch back to the original time zone to apply the updated the DST setting.)
- Palm
- Blackberry: User initiated, Administrative patch deployment
Identifying users with mobile devices and applying the appropriate patches can be challenging. Working in higher education I have no control over the active-sync mobile devices that connect to our Exchange servers. Thus I had to find a way to identify and notify users with mobile devices. Fortunately, we are running Exchange 2007 and I have the tools needed to accomplish such a task easily. Using the Get-ActiveSyncDeviceStatistics cmdlet I was able to compile a list of devices that have synced within the last 2 weeks.Get-Mailbox -ResultSize:Unlimited | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | Where {$_.LastSuccessSync -gt '2/15/2007'}
Incorporating a couple of other PowerShell tools I was able to create a CSV file with the user’s email address and device type. Now I can e-mail device specific patching instructions to the effected users. As an added bonus I was able to accomplish this in a single line.Get-Mailbox -ResultSize:Unlimited | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | Where {$_.LastSuccessSync -gt '2/15/2007'} | Sort-Object -Property DeviceType,Identity | Select-Object @{name="EmailAddress";expression={$_.Identity.ToString().Split("\")[0]}},DeviceType | Export-Csv -Path:"C:\Temp\MobileDevices.csv"
**Note: This method will only identify active-sync users. Blackberry users will not be included in the results.
–Nick
3 comments:
Thanks for this article great work!
This truely helped me ! Thanks from France
thanks. saved me a bunch of time.
Post a Comment