Link to home
Start Free TrialLog in
Avatar of DP230
DP230Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Lack of space problem in Exchange mailbox

Dear Wizards, I have a question regarding the mailbox of a user. Our quota is 50 GB and hers is full. Can I export her mailbox from Administrator Shell command, but only for a pre-defined timeslot? For example: only from 2015 to Dec 2017. We'd like to reduce her mailbox size, since we cannot increase hers anymore.

Is it the optimal solution? Can you please suggest more? Many thanks!
SOLUTION
Avatar of Ivan
Ivan
Flag of Serbia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DP230

ASKER

Hi Ivan, I followed your suggestion but it only exported the mails in that time range and did not delete them; thus the mailbox size remained the same.

How can we also delete those emails? so that we can reduce the mailbox's size?

update1: I found this command, tried but did not work

Search-Mailbox -identity user_name -TargetMailbox administrator -TargetFolder Inbox -searchquery {Received:> 11/01/2016 and Received:<4/15/2018)} -DeleteContent -Force 

Open in new window


and the result:
User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DP230

ASKER

Hi,  but she is using only OWA, even when I archive her mailbox, its size did not reduce !  Is there another way?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DP230

ASKER

Hi Amit, I think you might misunderstood our situation:

"50 Gigs? Why don't you ask user to perform the cleanup. Moving to PST is not a great idea. If PST got corrupted, which it normally corrupt, you are in big trouble. If i am in your place, i might increase the mailbox limit and remove cache mode for her. Or just change registry file to accommodate OST above 50GB."

Our problem is not the .PST file in her PC but her mailbox in our Exchange Server. She is only one example, we do not have enough resource for increasing users' mailboxes then they are about full.

So how can we reduce the users' mailboxes size in Exchange server?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DP230

ASKER

Yes, I knew how to set the limit of mailbox size in DB level as well as to change registries to have .PST file more than 50 GB

I'm just looking for the method that we - as SysAdmin role, can do cleanup the mailbox size for users (not only one, but bulk users at the same time)

Example: 10 people have mailboxes more than 50 GB. After export their mailboxes to .PST files (time range from 01 Jan 2017 to 31 Dec 2017) and handover them to the owners, we will delete all emails in their mailboxes at that time range, AND at the same time. So it there any command for that task?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I don't see any more query from author. I am closing this question.