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

Renew Cert Exchange 2007

1. Identify current cert thumbprint

            - Type  URL use web (OWA) > Click on lock key > View Cert > Capture the Thumbprint



2. Login to server CAS/HUB to check on services running use this Cert:

        - Open PowerShell and run this Command :
                          get-ExchangeCertificate |fl
                 

       - To Specific to one cert if have many cert register :
                            get-ExchangeCertificate -Thumbprint (Thumbprint Number); |fl


*** Check services running for that Cert 

3. Import New Cert user Command powershell OR MMC Console

                     Import-ExchangeCertificate -Path C:\newcert.cer| 

                                                      OR




4. Identify Thumbprint for the new cert at MMC Console by "Expiring Date"

5. If your Exchange use more that 1 CAS/HUB please export with private key and export to other           CAS/HUB

6. Active new cert with services use powershell :
                 
                    Enable-ExchangeCertificate -Thumbprint (New Thumbprint Number)  -Services "SMTP, IMAP, IIS, POP"

7. Use same command activation for other CAS/HUB

8. For Revert back the old Cert :

                  Enable-ExchangeCertificate -Thumbprint (Old Thumbprint Number)  -Services "SMTP, IMAP, IIS, POP"

How to remove extra line breaks

1. Some of application use code to send the email and use plain text. And the code have break line within code.

2. Outlook had active the remove extra line on outlook, it make the email will view at same line.

3. To inactive the "remove extra line" Go to File > Option > Email > Message Format > Untick "remove extra line"



How to check Exchange Version

1. Use About console 

       Open Exchange Management Console > About 

                           

2. Use HUB Console ( CAS/HUB Server)

        Open Exchange Management Console > Server Configuration > Hub Transport OR CAS

                                         


3. Any information related with Version you can see at Microsoft Website: