Hi,
Exchange 2007
Please can someone help with a PowerShell command?
I need help with a script that I will schedule to run on a daily basis to disable ActiveSync on all mailboxes except for users which are members of a security group "Exchange ActiveSync Users".
I have disabled active sync for all users and by running the following command as a scheduled task on a daily basis any new created user’s ActiveSync gets disabled.
Get-User -ResultSize Unlimited | Where {($_.WhenCreated -gt (get-date).adddays(-1))} | Set-CASMailbox –ActiveSyncEnabled $false
Just would like to run something similar but exclude users in security group "Exchange ActiveSync Users".
Thanks