Avatar of SwtBrSugar
SwtBrSugar
Flag for United States of America asked on

Can someone verify my script and let me know how to export to file?

Unable to export active sync using to csv file using the below script.  Any ideas?

for each ($Mailbox in (Get-CASMailbox -Filter {ActiveSyncEnabled -eq $true})) {Get-ActiveSyncDeviceStatistics -Mailbox $Mailbox.Identity}
Exchange

Avatar of undefined
Last Comment
SwtBrSugar

8/22/2022 - Mon
FOX

Anissa,
what results are you trying to export?
SwtBrSugar

ASKER
FOX,

The results I'm trying to pull a report that identifies all ActiveSync users along with their devices.
ASKER CERTIFIED SOLUTION
FOX

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SwtBrSugar

ASKER
Thank you FOX.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy