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
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: Administration, Mailbox, Scripts

Exchangepedia Blog is read by visitors from all 50 US States and 150 countries world-wide


4 Comments:
This is a great tool! Do you have anythign to reset the Delivery Restrictions?
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.
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
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