Decrypt LSA Secrets

Today we stand on the shoulders of giants, because I basically just took the two script functions mentioned in this Scripting Guy post, and made a script out of them :). I also slapped on a menu to select individual accounts instead of always doing all accounts, and changed the function to start an instance in…

Certificate Expiry

Updated 31-05-2016: Numerous improvements include; better error-handling, progress indicators, option to delete already expired certificates etc. etc. Jesper Arnecke asked me to rework one of my earlier scripts, to add some functionality and improve usability, so I did! 🙂 This script connects to the DC, gets a list of machines with the “OperatingSystem” value set to “*Server*”, if…

SysInfo

Decided to write a little script to see how much “practical” information I could pack into one screen. I think it turned out pretty well. clear Get-Variable -Exclude PWD,*Preference | Remove-Variable -EA 0 # include programs? (takes noticeably longer to gather info) [bool]$showPrograms = $true # define accent colors $c1 = ‘Magenta’ $c2 = ‘Green’…