Allow specific devices in Exchange Activesync
Greetings, I'm very new to powershell so please bear with me. Here is my situation: My company currently has our sales force equipped with iPads. We manage them through an MDM and everything works fine. The problem is that we have noticed that several employees have hooked up their personal devices to activesync to get corporate email on their devices. We want to close this off. I already have the information to block iphones, android devices, etc. The road block I'm hitting is that I want to block personal iPads but not our business iPads. As a test, I wanted to block all iphones and then just allow a couple of people's phones to see if it works. It seems fairly easy to do for one person but I will need to do something simialr for about 200+ people. I read about the powershell commands that can grab data from CSV files so I was wondering how to incorporate that. This code doesn't work, but in simple terms this is what i would want it to do: import-csv c:\temp\test.csv | set-casmailbox identity {$_.name} activesyncalloweddeviceid {$_.device} *the CSV file has 2 columns: name (contains alias name) and device (contains deviceID) So my question is... how would I go about writing a command/script to whitelist device IDs for multiple users at a time? Thank you very much in advance and sorry for the long winded post.
September 6th, 2012 2:00pm

This worked. Thank you very much!
Free Windows Admin Tool Kit Click here and download it now
September 6th, 2012 3:49pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics