Archive for June, 2010
PowerShell use Regex to Validate a GUID
Posted by Karl Mitschke in PowerShell on June 15, 2010
This simple REGEX one-liner will validate a GUID: 001 $GUID -match("^(\{){0,1}[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}(\}){0,1}$")
Exchange 2007 / 2010 Database Reporting Script
Posted by Karl Mitschke in 2007, 2010, Exchange, V2 on June 6, 2010
In a previous post (https://unlockpowershell.wordpress.com/2010/01/27/exchange-2007-mailbox-database-reporting-script/) I provided a script that we use to report on Our Exchange 2007 mailbox servers. That post garnered a lot of comments because it didn’t work with mount points. We now have a mix of Exchange 2007 and 2010, and I have updated my script – We also now use […]
Exchange 2010 Find Database White Space
Posted by Karl Mitschke in 2010, V2 on June 3, 2010
In Exchange 2007 and earlier, after online defragmentation occurred, you could find your database whitespace by examining the application logs and viewing event ID 1221. This is a pain to do, but luckily for us, Shay Levy posted an excellent article with a PowerShell function for Exchange 2007: http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2009/08/13/exchange-white-space.aspx That works great for 2007, but […]