Quantcast
Channel: Exchange Server 2013 - Mobility and ActiveSync forum
Viewing all articles
Browse latest Browse all 1206

Extract List of Active Sync Users - 2010

$
0
0

The script mentioned here nto working for me ...

http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/be381f28-9922-485e-9218-3d94e7b19be1

$mailboxes=get-mailboxforeach ($mailboxin$mailboxes) {$device= (get-activesyncdevicestatistics-mailbox
   $mailbox.alias).devicetypewrite-host"$mailbox.alias `t $device"}

I get this error ..

Unexpected token 'in' in expression or statement.
At line:1 char:44
+ $mailboxes=get-mailbox foreach ($mailbox in <<<<  $mailboxes) {$device= (get-activesyncdevicestatistics -mailbox $mailbox.alias).devicetypewrite-host "$mailbox.alias `t $device"}
    + CategoryInfo          : ParserError: (in:String) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken

thanks in adv.



Viewing all articles
Browse latest Browse all 1206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>