So....

$Devices = Get-ActiveSyncDevice -ResultSize Unlimited
$Devices | Foreach-Object{Set-CASMailbox $_.DistinguishedName 
-ActiveSyncAllowedDeviceIDs @{Add=$_.DeviceId}}

Is not liking Apple device names. They all have this odd character as below.

iPad§ApplDQTFNEQHDFHW

From: [email protected] [mailto:[email protected]] On 
Behalf Of ccollins9
Sent: Monday, May 12, 2014 11:38 AM
To: exchange
Subject: Re: [Exchange] RE: Active Sync and passwords.

| %{Set-CASMailbox -Identity $_.smtpaddress -ActiveSyncEnabled $true}

something like this.

This will not accomplish his goal.  This command would just simply allow that 
user's account to interface with ActiveSync devices (which I am presuming is 
already set on all his user's mailbox accounts). It will not classify a 
previously "blocked" device as "allowed".  See my other email for the link that 
will accomplish that goal.

On Mon, May 12, 2014 at 11:30 AM, Javier Santana 
<[email protected]<mailto:[email protected]>> wrote:
| %{Set-CASMailbox -Identity $_.smtpaddress -ActiveSyncEnabled $true}

something like this.


Reply via email to