Is there a way to query against exchange 2007 to distinguish who is either an active sync or blackberry user using powershell exchange addin?
BBES typically uses a service account that has access to ALL mailboxes in order to do it's thing. you will want to look at the BBES server itself to find out which users are active, not AD or Exchange. Because BBES is backed by a database, just dig into the dbo.UserStats table to see what's there.