Get last logon time for all users in an AD

Utilizing the ActiveDirectory module, this returns user names with last logon time stamp

Atmega328p at 3.3v

Venturing down the path of low voltage Atmega (Arduino)?  The following references the two steps (set your fuses and add a board entry) to allow you to use an off-the-shelf 328p “naked” and at very low voltage ranges (disabling brown-out).
If your 328 chip is using the default fuses (16 MHz external clock setup), run
the following avrdude commandline to re-write fuses. This disables
brown-out detection completely (allowing for low voltage thresholds), and sets to use the internal, 8MHz clock:

avrdude -c usbtiny -p m328p -B 1.0 -u -U lfuse:w:0xe2:m -U hfuse:w:0xd8:m -U efuse:w:0xff:m

Last but not least, add the following to your “boards” entry in the ArduinoIDE:

Copy File Contents to the Clipboard

Via right click (context menu) within Explorer, save the following to a .reg registry key file.

Powershell Full Database and Transaction Log Backup Script (works with SQLExpress)

Loosely based off of other examples I found, this script will perform full database backups of all databases or tran log backups of all full/bulk-logged databases.  In addition, it will utilize the default backup path (if one is not given), and delete old backup files (that conform to the file naming convention) that are older than a given number of retention hours (default to 48 hours):
Examples:
Full backup to a given path, retaining only 26 hour old backups on disk
. .\backup.ps1 SQLINSTANCE\Name full 26 "C:\some\path"
Log backup (to the default instance configured backup path), retaining default 48 hours of logs on disk
. .\backup.ps1 SQLINSTANCE\Name log
Assumes that the given windows user has necessary permissions to perform backups.  Compression is not specified, so will assume instance default config

Create local admin user with password set to never expire

The following script will create a local computer users in windows, set it’s password, mark the password to not expire and optionally set the description:

Modify SQL 2008 R2 Generated Configuration File For Unattended Installs

After walking through the installation GUI, copy the Configuration File Path on the ‘Ready To Install’ page.  Copy and modify this file in the following order to generate a repeatable unattended install process:

  1. Put a semicolon infront of UNIMODE=”Normal”
  2. Set either QUITE=”False” or QUITESIMPLE=False” to true
  3. Add the following line to accept the licensing terms:
    IACCEPTSQLSERVERLICENSETERMS="True"
  4.  Run the following as administrator from a command prompt: