About Me

My photo
"Smoke me a kipper, I'll be back for Breakfast" - one man's journey through life with IT and all things related to it whether it's purely technical or just for fun...

Note - Any posts on this blog are purely my own personal opinion and do not reflect any opinions of companies and/or people that I mention. All advice is given to help you but I cannot be held responsible for your actions should you decide you want to try these things out yourself!

Wednesday 22 February 2012

TMG - URL Normalization

Hey Folks, found a fix for something I haven't seen before and fortunately it was quite a quick one too.  If you are publishing a website via TMG using a publishing rule you will find that, if your URL contains % symbols or "escaped characters" as the Help file calls them, the HTTP Filter which is on all HTTP/HTTPS rules will block it.  This is how to fix it...


Monday 6 February 2012

PowerShell - Easy Mailbox Stats Gathering

Just a quick bit of PowerShell for those that use it as often as I do.  This is something I created a long time back for reporting against user mailbox sizes.  You can tailor it to your own needs of course if you know the right attributes:

Get-mailboxstatistics –Server GLL-EXCHMB-01 | select-object servername, storageGroupname, databasename, DisplayName, @{name="TotalItemSize(KB)";expression={$_.TotalItemSize.Value.ToKB()}},StorageLimitStatus,LastLogonTime, LastLoggedOnUserAccount,ItemCount, DeletedItemCount | export-csv c:\Server_Stats.csv

Have fun!

Wednesday 1 February 2012

Documentation - Can it be easier?

Just a quick post to say that someone has showed me one of the best features I have ever seen in Windows and hopefully it will make life documenting installs and configuration so much easier than using Print Screen and Wordpad...