Avatar of zito2000
zito2000Flag for United States of America

asked on 

Exchange 2013 Mailbox Full Emails

Environment: Exchange 2013

Hello All, Happy Monday!

My users are claiming that they are not receiving an email from Exchange saying their mailbox is getting full.  I am receiving the emails no problem, so I'm trying to understand why some employees are seeing it and some aren't.

I DO know that I have overwritten the default database limits for mailboxes sizes.
i.e. If an exec is in a database that only limits the users to 1GB, I went in to the particular executive and gave him a 3GB mailbox.  
Does overriding the default database setting suppress those emails?  
Please see attached picture for the email I'm referring to.
User generated image
Exchange

Avatar of undefined
Last Comment
zito2000
Avatar of Udara Peiris
Udara Peiris
Flag of Sri Lanka image

ASKER CERTIFIED SOLUTION
Avatar of M A
M A
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

MAS,
This is perfect, thank you.
Do you happen to know how those "Your mailbox is almost full" emails are sent out?  It seems that those emails are sent "randomly" throughout the day, but I'm trying to understand how I received my warning at 4:42 a.m. and my boss received his at 7:30 p.m. the night before.
Is there a "schedule" that is happening in the background?
Avatar of M A
M A
Flag of United States of America image

-->Is there a "schedule" that is happening in the background?
Yes there is a maintenance done by Exchange by itself.
Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

MAS,
This schedule...
Is there any way of seeing the timing of it, or progress of it?

Or is it one of those things where it's just "Exchange is running it's maintenance in the background at its leisure)...?
Avatar of M A
M A
Flag of United States of America image

You can see the maintenance events in the event-viewer.
You can change database maintenance  time.
Set-MailboxDatabase -Identity "SERVER1\Database1" -MaintenanceSchedule "Mon.6:00-Mon.10:00"
This will run on Monday.
Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

Is there something in the Exchange Console that says when the maintenance will take place?
I'm sorry, I'm not trying to be redundant.

Or can you tell me exactly where to look in Event Viewer to find these events?  I just want something tangible to show my boss.

I'm just trying to understand the mechanism that is sending these emails and I haven't been able to find anything online about it.
Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

MAS,
Before I close this out, I was wondering if you saw my previous question.

I was asking:
Where exactly can I see the specific events in Event Viewer
Is there a place to see the actual maintenance schedule?
You mentioned how to change the database maintenance schedule, but I just want to view, not change.
Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

MAS,
Your article that you provided originally is great.  Is there any way I can run that second script (the one where you say "If -you want to format as table below is the command with format table. ")  per-database?
For instance, I just want to run the command on my 3 databases (DB01, DB02, DB03).  
Doing all email addresses would be too much.  
Avatar of M A
M A
Flag of United States of America image

Instead of "$u = Get-Mailbox"  use "$u = Get-Mailbox -database DB01" in the first line of the script.
Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

This is GOLD. Thank you.  The only issue is that the names are cutoff.  
Can I do 1 of 2 things?
1.  Export this to a .csv (preferred)  
2.  Expand the columns so I can see the names?
This is what I'm seeing:


User generated image
Avatar of M A
M A
Flag of United States of America image

-->1.  Export this to a .csv (preferred)  
You can export to CSV by adding "| export-csv -NoTypeInformation c:\mailbox\Mailboxes.csv" at the end of the script.
Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

So weird.  I added the export-csv command and the command just "hung".
So I tried to remove the export-csv, going back to what originally worked, and that is hung too.  I exited EMS and went back in, and it's hung once I ran the original command again.  
Trying to figure out what I broke.  

Avatar of M A
M A
Flag of United States of America image

I forgot it was format-table.
You cannot pipe format-table with Export-csv. instead you could try | format-table -autosize
i.e. The last line will be  
$DBProhibitSendReceiveQuota | format-table -autosize name,PrimarySmtpAddress........

Open in new window

And remove the fields which you dont need in the output.  i.e. If you dont want UseDatabaseQuotaDefaults from the output remove seDatabaseQuotaDefaults from the last line as below.
$DBProhibitSendReceiveQuota | format-table name,PrimarySmtpAddress,$TotalItemSize,$ProhibitSendQuota,$ProhibitSendReceiveQuota,$IssueWarningQuota,$DBIssueWarningQuota,$DBProhibitSendQuota,$DBProhibitSendReceiveQuota}

Open in new window

Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

I think the problem is that I cannot use the database switch:
$u = Get-Mailbox -database DB01 

When I add that, the script freezes.
Avatar of M A
M A
Flag of United States of America image

-->I think the problem is that I cannot use the database switch:
No. I used database switch and get the correct result
Avatar of zito2000
zito2000
Flag of United States of America image

ASKER

I figured out the issue as to why the command wasn't working and it had to do with our child domain.  But it is now correctly.
The format-table autosize didn't really work because while it expanded some of the columns, it cut off a lot.  But I was able to run a "start-transcript" and was able to get all the data from your commands, which was great.
Thank you so much for staying with me through this.  Greatly appreciated!!!

Exchange
Exchange

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo