Forum Discussion
Rising Flight
Dec 16, 2018Brass Contributor
OWA
Hi experts
i have a csv file with mailboxes, i want to disable OWA for them. please help me with the syntax to disable OWA.
Name
mailto:user1@mydomain.com
mailto:user2@mydomain.com
3 Replies
- Try this:
Import-CSV “C:\yourfile.csv” | foreach {Set-CASMailbox -Identity $_.User -ActiveSyncEnabled $False}
Adam- Rising FlightBrass Contributor
can i go with the below syntax
Import-CSV “C:\yourfile.csv” | foreach {Set-CASMailbox -Identity $_.User -OWAEnabled $False}
- Yeah, of course! I was thinking about AS instead :)