Showing posts with label Exchange. Show all posts
Showing posts with label Exchange. Show all posts

Thursday, December 3, 2015

Exchange Shell

Get a list of addresses, c:\export to smtp.csv

Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,ServerName,PrimarySmtpAddress, @{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object {$_.SmtpAddress}}} | Export-CSV c:\smtp.csv -NoTypeInformation

Tuesday, December 16, 2014

Autodiscover service not working

The following solution might not be Microsoft recommended or supported. 
Please read the rest of the thread below before tying this fix.  There are many other more common fixes to the problem that should be tried before the fix presented here.
I found this solution on a third party web site.  The site claimed that it only affected exchange 2007- and prior to SP2.  It should not affect Exchange 2010, but in my case it worked. I’m guessing in my case, the in-place upgrade had something to do with it, and I think the problem didn’t appear until the DC was changed to 2008.
In IIS, I changed the ‘Windows Authentication’ to run ‘kernel-mode authentication’



On the client, I was no longer prompted starting outlook.  Using the test auto-configuration showed it found via SCP and http status 200.  Viewing the Outlook diagnostic logs (olkdisc.log) also showed successful authentication negotiation.  Accessing Out-Of-Office failed, as did Free/busy.
I then turned on kernel-authentication on EWS and OAB (OAB inherits the setting from the Default Web site level).
Problems with OOF, Free/Busy, downloading OAB all went away for both Outlook 2007 and 2010.  Viewing the Outlook diagnostic logs confirms they are successfully running.  And I no longer get any authentication prompts.
Thanks for all those who help in troubleshooting the problem and I hope others will find this information useful.

Monday, July 28, 2014

Exchange user mailbox quota limit changes may take up to 2 hours to take effect

Open regedit on the server

Go to HKLM\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

Create a new DWORD value “Reread Logon Quotas Interval” (without the quotes) and give it a decimal value of 1200 (20 minutes in seconds)

Still under the key ParametersSystem, create a new DWORD value “Mailbox Cache Age Limit” and give it a decimal value of 20

Restart the Exchange IS

Tuesday, July 1, 2014

Error when launching Exchange Management Console

Error reads: "...The system load quota of 1000 requests per 2 seconds has been exceeded. Send future requests at a slower rate or raise the quote for this user..."

Run command prompt as administrator.

Use IISRESET command.

After IIS restarts, try opening EMC again.

Wednesday, May 21, 2014

An AD setting that can make or break Active-Sync to your mobile device

Open Active Directory Users and Computers

Click View menu

Select Advanced Features

Locate the user in Active Directory, select Properties on the user profile

Open the Security tab

Click Advanced button at the bottom of the Security tab

Make sure "Include inheritable permissions from this object's parent" is checked