Exchange DAG check status using powershell

When we want to check DAG (Database Availability Groups) status we should use two below powershell CMDlet’s:

 

Get-MailboxDatabaseCopyStatus will check and show status of all mailbox databases in all the DAG’s in Microsoft Exchange environment.

Test-ReplicationHealth check all aspects of replication and replay, or to provide status for a specific Mailbox server in a database availability group (DAG).

To check copy status of all mailbox databases we should use:

(Get-DatabaseAvailabilityGroup) | ForEach {$_.Servers | ForEach {Get-MailboxDatabaseCopyStatus -Server $_}}

Continue reading

Print Friendly

Windows Phone 8 Exchange sync Error Code 86000C29

If you are using mobile devices with Windows Phone 8, and you sync mail with Exchange windows8-windows-phone-82Server, you can get Error Code 86000C29

 

 

This problem is caused by Microsoft Exchange ActiveSync policy which prevent to sync your mailbox with mobile device with Windows Phone 8

 

When your mobile device is trying to sync mailbox from Exchange Server, first ActiveSync policy is enforced for this device. If device can’t pass policy requirements than it can’t sync mailbox.

Because mostly ActiveSync policy Require Encryption on Storage Card.

So to resolve this issue you need to open EMC, Organization ConfigurationClient Access, tab Exchange ActiveSync Mailbox Policies.

Continue reading

Print Friendly

Exchange 2010 mobile device wipe with confirmation

When you want to wipe mobile device in Microsoft Exchange 2010 you can use Exchange Management Consoleth.

 

In Exchange Management Console, find mailbox, right click on mailbox and select Manage Mobile Phone. In new window select mobile device and select Perform a remote wipe to clear mobile phone data and click Clear

 

But in this case we won’t get any information when wipe operation will be complete.

When we want to get confirmation when wipe opeartion will finish, we have to use Exchange Management Shell (EMS).

Continue reading

Print Friendly

Exchange 2010 Public Folders Report

When you use Public Folders in Microsoft Exchange 2010 environment it’s good to know what kind of folders you have, what is size of those folders.

We can use script AggregatePFData.ps1, which you can find in Exchange 2010 installation directory like below:

C:\Program Files\Microsoft\Exchange Server\V14\Scripts

 

With this script you can easly get information about Public Folders reside on Exchange 2010 server.

You will get informations like below:

  • Identity
  • Owner
  • ItemTypes
  • FolderType
  • MailEnabled
  • HasModerator
  • HasRules
  • ItemCount
  • TotalItemSize
  • LastUserAccessTime
  • LastUserModificationTime

Continue reading

Print Friendly

Exchange 2010 Management Pack for SCOM known issues KB2592561

In KB2592561 article you can find informations about known issues with Exchange 2010  Management Pack and SCOM 2012 or SCOM 2007

 

scom2012

 

This article is recommended for all of people using SCOM to monitor Exchange 2010 environment.

If you have any problems in SCOM with Exchange 2010 MP you shoudl first look through this document before calling for support or posting to the forums as the issue may be covered below.

This articles is applyed to:

  • Microsoft System Center Operations Manager 2007 R2
  • Microsoft System Center Operations Manager 2012

 

Guidance, Tuning and Known Issues for the Exchange 2010 Management Pack for System Center Operations Manager

 

 

 

Print Friendly

Exchange 2010 find empy distribution groups

When you have big Microsoft Exchange environment, you probably have many Distribution Groups.

Often you create distribution groups when you need them or someone need, and after that you forget about them.

It’s good to clean unused grups from time to time.

Below we present powershell command to find distribution groups without members.

If you have any distribution group without members, you will receive informations about name, smtp address and Managed By.

You can simply use below commands:

$DistrGroups = Get-DistributionGroup -ResultSize Unlimited
ForEach ($DistrGroup in $DistrGroups) { 
 if (!$(Get-DistributionGroupMember -Identity $DistrGroup.’DistinguishedName’)) { 
  Write-Host $DistrGroup.DisplayName "," $DistrGroup.PrimarySmtpAddress "," $DistrGroup.ManagedBy
  }
}

 

 

Print Friendly

Outlook 2007 – no holidays in calendar since 2013

When your users will open theirs Microsoft Outlook 2007 for the first time in 2013 year they will see that Outlook 2007 has holidays until the end of 2012, and in 2013 they don’t have any holidays. calendar2013

If you have users workaholic – they won’t complain.

This situation is caused by Microsoft Outlook 2007.
When it was released it included only calendar holidays till the end of 2012.

Now when you want to still use Outlook 2007 you have to download and distribute a new “Holiday file” to your users.

You can find such file in internet.

Remember that holidays are added to a users Calendar by Microsoft Outlook and not Exchange Server. When you crate mailbox and for the first time you will login using OWA then you will see that mailbox calendar is empty – no holidays. But after you open you mailbox using Microsoft Oultook, all holidays will be added to mailbox calendar by outlook and then you can see them in OWA.

Continue reading

Print Friendly

Windows Phone 8 sync issue with Microsoft Exchange Error code: 80070057

When you have Geek users and they have mobile phones (devices) with Windows Phone 8, some of them can have problems with syncing mailbox with device.

During synchronization Windows Phone 8 device with Microsoft Exchange using Microsoft ActiveSync synchronization can fail and user can get following error:

We’re having a problem synching your information. Try again later.
Last tried x seconds ago.
Error code: 80070057

Mailbox is not snchronized to the device.

This error is caused by mailbox folder which conatins an ASCII code that is smaller than 32  for example, a tab, a carriage return line feed (CRLF) break, or a new line.

As a workaround you can use one or both of the following methods:

Continue reading

Print Friendly

Exchange 2010 Event ID 4999 Msftefd.exe process crashes

When you work with Microsoft Exchange 2010 SP2 with Rollup 4 or a later update rollup that is earlier than Update Rollup 6 installed, you can meet with Event ID 4999.

If you get following events on mailbox server:

Source: MSExchange Common
Date: Date
Event ID: 4999
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: Computer
Description:
Watson report about to be sent for process id: Process ID, with parameters: E12, Build TypeVersion Number, ExMSFTE, M.E.Search.ExSearch, M.E.S.Crash.CrashNow, M.E.Common.FailFastException, XXXXVersion Number.
ErrorReportingEnabled: False

Log Name: Application
Source: MSFTESQL-Exchange
Date: Date
Event ID: 64772
Task Category: MSFTESQL Service
Level: Error
Keywords: Classic
User: N/A
Computer: Computer
Description:
The filter daemon process MSFTEFD exited unexpectedly.

Log Name: Application
Source: MSFTESQL-Exchange
Date: Date
Event ID: 1053
Task Category: MSFTESQL Service
Level: Error
Keywords: Classic
User: N/A
Computer: Computer
Description:
The system exception c000010a was raised at 000007FEF99D0F16.

Continue reading

Print Friendly

Exchange 2010 SP2 RU5 installation issues

Because installation of Rollup 5-v2 for Exchange 2010 SP2 sometimes can be painful, we present list of tips how to install RU5 for Microsoft Exchange 2010 SP2.

First read  KB 2785908

Don’t use WSUS to install Rollup 5. Just download it manually from Microsoft Download Center.

Before installation of Rollup 5-v2 make sure you don’t have installed  KB2506146 and KB2506143. Uninstall them.

Backup your customized Outlook Web App files. Rolllup will updates the Outlook Web App files if they are required and any customizations of logon.aspx file will be overwritten.

When you install this update RU5 on computer without internet connection, you may experience long installation times. To install fast clear the Check for publisher’s certificate revocation in the Security section of Internet Option (IE).

if you have deployed CAS-CAS proxying,please apply the update rollup on the Internet-facing Client Access servers before you apply the update rollup on the non-Internet-facing Client Access servers

 

Print Friendly