none
Powershell command RRS feed

  • Question

  • Is bulk disabling  through powershell possible in exchange for the following two commands.

    1) Bulk Disabling of OWA access for Exchange client<o:p></o:p>

    2) Bulk disabling of Mobile accessibility of exchange clients

    Please provide the same.<o:p></o:p>


    Monday, May 12, 2014 5:26 AM

All replies

  • You didn't mention the Exchange Version. However, you can check this

    help Set-CASMailbox -Detailed


    Example :

    Set-CASMailbox -Identity 'MAILBOXID' -OWAEnabled:$false -ActiveSyncEnabled:$false

    Is this works you can try using looping

    $ID = Get-Content C:\Temp\MailboxID.txt
    foreach($mailid in $id){
    Set-CASMailbox -Identity $mailid -OWAEnabled:$false -ActiveSyncEnabled:$false 
    }


    Regards Chen V [MCTS SharePoint 2010]

    Monday, May 12, 2014 7:03 AM