Copy and zip up IIS Logs newer than a certain date

This script will actually work for anything of the form “Copy stuff from static location and zip it up using PowerShell”, however the focus for this article is IIS because IIS logs are huge and...

Recycle Application Pool using WMI via Powershell

Introduction I handle the builds for a particular piece of software at my place of work. I am responsible for deploying any new versions of code to all environments; including but not limited to: Development...

Query SQL Server using PowerShell

I don’t understand why it was so difficult for me to find an example on this, so I compiled one from three posts so I could put it here: [crayon-5a619d8fd8671726648672/] Enjoy