This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Exchange Server 2010 eats up extreme amounts of memory when exporting large | |
| # mailboxes. This script attempts to provide a workaround by splitting exports | |
| # of mailboxes that are larger than 10 GB into yearly chunks. | |
| # | |
| # This script will obviously create a few PSTs that are empty. You can easily | |
| # spot these by their file size. Empty PSTs are 265 KB in size. | |
| # | |
| # It worked for my one-off use case, but is provided AS-IS and without any | |
| # warranty or guarantees of correctness. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Xml.Linq; | |
| namespace ConsoleApp1 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | |
| remove_branding() { | |
| local file="$1" | |
| echo " * $file" | |
| perl -i -pe 'BEGIN{undef $/;} s!<div class="poweredBy">.+?</div>!!sig' "$file" | |
| } |