Monday, September 19, 2016

Disable & Enable OA User

1. Open PowerShell :


  •       Disable OA:


       Get-Mailbox –Identity (User Identity) | Set-CASMailbox -MAPIBlockOutlookRpcHttp:$true





  •       Enable OA:


   Get-Mailbox –Identity (User Identity) | Set-CASMailbox -MAPIBlockOutlookRpcHttp:$False




  •      Enable & Disable in Bulk
                - Create .txt file info identity user:
                             

               - Create .ps1 file 
                                      

            
              - Open Powershell and run this .ps1 files.

*** Just Change the value to $false to Enable 
*** All files must in same folder

No comments:

Post a Comment