Exchange powershell: parsing a boolean value array
2 answers
To access the value directly:
(get-casmailbox -Anr $ user.displayname) .activesyncenabled
You can omit anr and use the identity element:
Get-CASMailbox $ user.Identity
To get all default activated mailboxes:
get-casmailbox -resultSize unlimited -filter {activesyncenabled -eq $ true}
+1
source to share