The seemingly simple problem I could not believe what a total pain in the ass this was to resolve. I tried getting the CPU and […]
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 […]
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 […]
Straight to the Point: Query for Database and Table Sizes
I love how I have to search too much to find simple information, one liners, it is just like in College where my college course […]
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 […]
Multiple Lines to a Single Line using Powershell
#declare a variable to dump a text file into $a #Pipe the file into the variable using the cmdlet tee-object and pump the unwanted output […]