Archive for July 2015

Event ID 9373 is logged in the Application log when you update the offline address book in Exchange Server   Leave a comment

SYMPTOMS
When you update the offline address book by using the Update-OfflineAddressBook command or by using a scheduled task, the following event (Event ID 9373) is logged in the Application log on a computer that is running Microsoft Exchange Server 2007:
Event Type: Error
Event Source: MSExchangeSA
Event Category: OAL Generator
Event ID: 9373
Description: OALGen detected that the file ‘\\\ExchangeOAB\\a58e388b-7b23-4944-b042-58a7d0c6590f-data-1.lzx’ is corrupted or missing. This indicates data tampering or disk problems. Restore files in this folder from the recent backup or clean up folder content and force a full OAB generation. – Default Offline Address Book

CAUSE
This issue occurs when one or more OAB Version 4 offline address book files are corrupted or missing. In this case, the Microsoft Outlook clients cannot download the updated files until the issue is resolved.

RESOLUTION
To resolve this issue, use one of the following methods.
Method 1: Restore the contents of the OABGen folder

If daily backups are available, restore the contents of the OABGen folder to the following folder:
ExchangeInstallDir\ExchangeOAB\OAB GUID
Note ExchangeInstallDir is a placeholder for the name of the Exchange Server 2007 installation directory. OAB GUID is a placeholder for the name of the folder.
Method 2: Rebuild the offline address book files by using Exchange Management Console or the Exchange Management Shell

If the corrupted offline address book item is enabled for public folders distribution, and if the data was published in public folders before the offline address book item was corrupted, delete the contents of the OABGen folder from the ExchangeInstallDir\ExchangeOAB\OAB GUID folder. Then, rebuild the offline address book files by using one of the following methods:
Use Exchange Management Console to rebuild the offline address book files. To do this, follow these steps:
Open Exchange Management Console.
Expand Organization Configuration, and then expand Mailbox.
On the details panel, click Offline Address Book, and then select the offline address book item that you want to update.
On the Action panel, click Update, and then click Yes.
Use the Update-OfflineAddressBook command to rebuild the offline address book files.

To do this, run the following command in the Exchange Management Shell.
Update-OfflineAddressBook
Note You can run the Update-OfflineAddressBook command on a computer that has the Mailbox, Client Access, or Hub Transport server role installed. To do this, you must log on by using an account that is a member of the Exchange Organization Administrators group. The account must also be a member of the local Administrators group on that computer.
Method 3: Rebuild the offline address book files by using a command

If neither daily backups nor public folders distribution is available, delete the contents of the OABGen folder from the ExchangeInstallDir\ExchangeOAB\OAB GUID folder. Then, rebuild the offline address book files by using one of the following commands.
Update-OfflineAddressBook -Identity MyOAB
Note In this example, the Update-OfflineAddressBook command is used to update the offline address book file that is named MyOAB.
Update-OfflineAddressBook
Note When you use this command, the offline address book will be rebuilt. This will cause all clients to process a full offline address book download. For OAB Version 2 and OAB Version 3a, a full offline address book download can cause massive network traffic between client access servers and clients.

Posted July 20, 2015 by Prem Rana in MS Exchange Articles

Set-MailboxCalendarSettings cmdlet to enable calendar processing for a mailbox.   Leave a comment

Use the Set-MailboxCalendarSettings cmdlet to enable calendar processing for a mailbox.

The Set-MailboxCalendarSettings cmdlet lets you enable calendar processing for a mailbox. You can configure parameters for automatic resource booking or Calendar Attendant processing.

To run the Set-MailboxCalendarSettings cmdlet, the account that you use must be delegated the following:

-Exchange Organization Administrator role

Set-MailboxCalendarSettings -Identity “5th Floor Conference Room” -AutomateProcessing AutoAccept -AddOrganizerToSubject $true -DeleteSubject $true

Posted July 20, 2015 by Prem Rana in EMS Commands (Powershell)

About   Leave a comment

About.

Posted July 20, 2015 by Prem Rana in Uncategorized

Exchange Server 2010 – Changing Message Tracking Log Retention Period   Leave a comment

Open the Exchange Management Shell console and determine your server’s identity and verify logging is enabled with either of these commands.

Get-TransportServer | Select Name,MessageTrackingLogEnabled | ft -auto
Get-MailboxServer | Select Name,MessageTrackingLogEnabled | ft -auto
Here you can check the current Message Logging values. It also aids in determining which switches to set.

Get-MailboxServer YourServerName | fl messagetracking*

You should see something like this…

MessageTrackingLogEnabled : True
MessageTrackingLogMaxAge : 30.00:00:00
MessageTrackingLogMaxDirectorySize : 1000 MB (1,048,576,000 bytes)
MessageTrackingLogMaxFileSize : 10 MB (10,485,760 bytes)
MessageTrackingLogPath : C:\Program Files\Exchange\TransportRoles\Logs\MessageTracking
MessageTrackingLogSubjectLoggingEnabled : True

Change your values to something more useful. In my case, space was not an issue so I enabled logging for 365 days and allocated 10 GB for log files.

Set-TransportServer YourServerName -MessageTrackingLogMaxAge 365
Set-TransportServer YourServerName -MessageTrackingLogMaxDirectorySize 10000MB

Posted July 20, 2015 by Prem Rana in EMS Commands (Powershell)