Dec 16 2018 12:47 AM
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
user1@mydomain.com
user2@mydomain.com
Dec 16 2018 12:54 AM
Dec 16 2018 01:19 AM
can i go with the below syntax
Import-CSV “C:\yourfile.csv” | foreach {Set-CASMailbox -Identity $_.User -OWAEnabled $False}