Category Archives: PowerShell

About once a year I work from home like a scumbag for a week to get all my big code re-writes done. Throughout the year I write fixes, add new scripts and functions as needed, and then clean everything up, document things properly, add comments, get everything actually working in this week. That week is now upon me, and there are a bunch of things I wish that I didn’t keep having to re-write, or update, or rip out, or whatever.Continue reading Things I wish I hadn’t done while writing PowerShell stuff for work→

We’ve had some issues with admins improperly applying permissions in the past, and in recent times as well. Because of this, we’ve decided that maintaining permissions change logging to determine who it is that’s having issues learning how to apply permissions can get some extra training on how to appropriately set file ACEs. The issue with doing this is that it generates ~40GB of compressed Windows logs daily, or closer to 100GB uncompressed. So, how can we use PowerShell to parse through the binary logs, store the info we need, and then get rid of the relatively gigantic evtx files?Continue reading File server permissions change auditing.→

Our fileserver was running low on space and still growing at about 80GB/month. Rather than throw more storage at it, which would only buy us another few months before we had to do it again, I figured I’d look for something that would archive unused data to secondary storage, without rendering it unreachable.Continue reading Online File Server Archiving with PowerShell→

We’re in the middle of an Exchange 2007 to 2013 On Premise migration, and we haven’t been having the best time. After a major mail crash in 2011, every time we’ve attempted to move off the recovered server, either to Exchange 2010 or to a freshly built Exchange 2007 setup, we’ve encountered major, migration stopping issues.Continue reading Exchange 2013 2007 CoExistence Frozen Transport Queues→