Quantcast
Channel: Exchange Server 2013 - Mobility and ActiveSync forum
Viewing all articles
Browse latest Browse all 1206

Remove ActiveSync Device based upon DeviceUserAgent type

$
0
0

I have requirement, where in I need to keep devices only with 

DeviceUserAgent = RIM and WorxMail

and remove other devices in the existing ActiveSyncAlloedDevicesIDs. Not sure if the below mentioned shell commands can be used, as it is required to corrected.

Get-ActiveSyncDevice | where {$_.DeviceUserAgent -notcontains BB*, WorxMail*} Remove-ActiveSyncDevice –Confirm:$True

Get-ActiveSyncDevice –filter {DeviceUserAgent –ne “BB*”, "WorxMail*" } | Remove-ActiveSyncDevice –Confirm:$True

If there are any scripts which can do it please share.

Thanx


Gautam.


Viewing all articles
Browse latest Browse all 1206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>