Browsed by
Category: Tutorials

Tutorials I have written up, or mashed up from other sources.

Data Recovery Part One

Data Recovery Part One

A little over a year ago while I was working in Afghanistan, I purchased a 1 Terabyte Western Digital hard drive. It had performed very well until it was dropped, since it has been very slow and getting data off of it has been very tedious. In today‚Äôs two part post I am going to go over the options you generally have when something like this occurs. In my case I am lucky and the drive still spins and is…

Read More Read More

Getting MatrixGL as the wallpaper on Crunchbang

Getting MatrixGL as the wallpaper on Crunchbang

Some of you may think having a livewallpaper is distracting, some of you may actually enjoy it! Recently I downloaded a copy of CrunchBang and put it on my *nix box. I noticed not all of the wallpapers listed were avaiable, however it is an easy fix! sudo apt-get install xscreensaver-gl-extra The above command will download a bunch of extra screensavers. Its about 11MB. The next step is getting xwinwrap, I got it from: http://tech.shantanugoel.com/projects/linux/shantz-xwinwrap – The source is available…

Read More Read More

PowerShell: Find User Accounts Expiring in 7 days

PowerShell: Find User Accounts Expiring in 7 days

This may help some of you; it looks for accounts within a certain OU and outputs their expiration date and email if their account expires in 7 days (no more, no less!). # Inspired by: http://gallery.technet.microsoft.com/scriptcenter/Email-Active-Directory-452a5640 # Modified for use by; Salomon Johns # Find users within a certain OU that have accounts expiring in 7 days (no more, no less) # Print out the results Get-QADUser -ou “ou=users,dc=test,dc=domain,dc=local” -includedproperties AccountExpires -sAMAccountName ‘*’ | ForEach-Object { $sevendays = (Get-Date).AddDays(7).ToString(‘yyyyMMdd’) $samaccountname…

Read More Read More