by Katherine Villyard | Jan 25, 2016 | monitoring, powershell
I wrote these in PowerShell to run with nrpe/nsclient. They query Dell OpenManage’s command line and return a Nagios-readable result. (There are plugins available on Nagios Exchange, but they all seemed to be… more than I wanted. I just wanted to know,...
by Katherine Villyard | Jan 12, 2016 | monitoring, powershell, sql
Or, Log-Shipping over 1200 databases automagically. The Problem Question: How many SQL Server databases can you put on one server? Answer: It depends on how fast you need them restored if something terrible happens. Because Dude, if your server crashes most heinously,...
by Katherine Villyard | Sep 23, 2015 | powershell
Someone on Server Fault asked a question about which versions of SQL Server support log shipping. He uses Express. Log shipping uses SQL Agent, and Express doesn’t come with SQL Agent, but you can still manually log ship with PowerShell and Task Scheduler. Use...
by Katherine Villyard | Nov 21, 2014 | powershell, scripting
I was given the task of renaming a bunch of databases named something like “name,” “name_1,” “name_2,” etc., to “nameold,” “nameold_1,” “nameold_2,” etc. Our convention is for the database name...
by Katherine Villyard | Mar 12, 2013 | geekiness, powershell, scripting
I went to the Atlanta PowerShell Users Group tonight. The topic was tips and tricks. My trick was this script, which task scheduler reads to me in the morning. Assuming you use Hiveminder–and you should, because it’s awesome–you only have to edit...
by Katherine Villyard | Feb 20, 2013 | powershell, sysadmin
I’m really digging the Exchange Management Shell. It’s FUN FOR THE WHOLE FAMILY! Okay, maybe not the whole family. 😉 Short example: someone wanted to know if I could tell them how many emails someone sent in a specific time period. Short answer:...