• 1. London, UK
  • 2. Sydney, Australia
  • 3. New York, NY
  • 4. Melbourne, Australia
  • 5. Bellevue, WA
  • 6. Paris, France
  • 7. Moscow, Russia
  • 8. Chicago, IL
  • 9. San Francisco, CA
  • 10. Amsterdam, Netherlands

Thursday, February 02, 2006

 

SCRIPT: Reset Mailbox Limits

Posted by Bharat Suneja at 2:14 AM
I had posted a script that reports all users with their mailbox storage limits set individually on the user account properties in my earlier post titled "SCRIPT: Show mailbox limits".

I have just added another script to that post that will reset those mailboxes (with storage limits set individually). Once the script resets storage limits on the account, the account will get any mailbox storage limit policies. [zipped resetMailboxLimits.vbe]

README FROM THE SCRIPT:
This script will look for all user accounts that have their mailboxstorage size modified individually.
This includes accounts that have **any** following attributes:- Use mailbox store defaults is unchecked- Issue warning at (KB) is set- Prohibit send at (KB) is set- Prohibit send and receive at (KB) is set

Usage:resetmailboxlimits.vbe
Options:
/s:y will run script in silent mode*make sure you use the /f option to save output to a file if you'reusing silent mode
/f:[path to output file.txt] - will save output in a text file
/help
resetmailboxlimits.vbe /s /f:c:\somedir\output.txt*above command will run this script in silent mode and produce output in the output.txt file in c:\somedir

Labels: , ,

4 Comments:

April 6, 2006 12:50 PM
Anonymous Anonymous said...

This is a great tool! Do you have anythign to reset the Delivery Restrictions?

 
May 5, 2006 4:22 AM
Anonymous Anonymous said...

It seam the script is encripted and modification are not possible. Is there any posibility to change the script for my need. I want thant only change acount on one specified OU.

 
May 5, 2006 4:28 AM
Anonymous gumesese said...

It seem the script are encripted. I wand to modify the script for my needs. I only want to modify one OU. Is it posible to get plain version of this script.
Thanks
gumesese@yahoo.com

 
December 19, 2006 9:19 AM
Blogger razvan.despa said...

Hi,

I run the SHOWMAILBOXLIMITS.vbs script and it is working fine. I run from the same machine using the same user this script and i have this error:
resetmailboxlimits.vbe (94, 21) (null): 0x80005000

Can you please help me in identiying the problem?

Running these 2 scripts on a virtual machine both are working very fine.

Thanks a lot,
Razvan

 

Post a Comment

Links to this post:

Create a Link

<< Home