PowerShell Script to Copy OUs and Groups from AD Including Group Membership

I couldn't find a clean method to export group membership from AD. LDIF notoriously does not allow importing the MemberOf attribute, so I began looking for a way through PowerShell. I found a method using Quest's AD Tools SnapIn. The code below will grab the Name, MemberOf, DN and edmPolicy (used in CAE) from an existing OU and import it into a new domain:

Remove Sync Center Duplicates in Windows 7

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters

Create DWORD called FormatDatabase, value of 1

How to Replace Your Crappy Profile Picture on your Cr-48

As other sites have mentioned, it's not possible to replace your initial profile picture on the Cr-48. Until now.

Google Cr-48 Safety Notices

I just received my Cr-48 in mail, and as per usual Google products, this one is not free from dry humor. The safety notices were no exception and were funny enough to share:

This product contains sensitive components. Do not drop, disassemble, open, crush, bend, bake, deform, puncture, blend (guess we’ll never know if it’ll blend), shred, incinerate, paint, bring to the moon, or insert foreign objects in to the device. Do not spill liquids, rocks of any size, or food on the device. Do not expose the device to water, moisture, or rap music.

Bash Scripting - Copy "Non Empty" Files in Linux

My personal hard drive crashed recently. Physically crashed. Drive head probably malfunctioned. Regardless, after sticking the hard drive in the freezer for a few hours to loosen up whatever might have been stuck in there, I stuck it back into my computer and booted into SystemRescueCD to have a go at getting some of my info back. I knew a little about navigating the command line in Linux, but after some research, I felt confident I would be able to automate the retrieval process. Below is the short script I used to complete my task.

Becoming An IT Genius

My name is Jason Ryberg. I have been behind the screen of a computer for over 20 years. During that time, I have acquired a wide array of IT skills. Using those skills, I am able to solve computer problems, no matter the magnitude. If you have a small to medium business IT issue, fix your problems now with an IT genius.

Jason Ryberg

An IT Genius Launch

This is the home of the new IT Genius website. For the moment it will contain my contact information, and hopefully soon a myriad of IT solutions.

Jason Ryberg

Removing a Windows Rootkit Using RootkitRevealer and The Avenger

After posting about how to remove a rootkit using SystemRescueCd, I encountered a rootkit that I could not eradicate using my method.  Fortunately, I was able to discover a different method using Windows tools.  SysInternals (aka Microsoft) developed a tool called RootkitRevealer that is very useful in determining the symptoms, thus the identity, of a rootkit.  After determining the identity of the rootkit and its associated files, I was able to use

Removing a Windows Rootkit Using SystemRescueCd

The past few weeks have taught me a lot about rootkits:

Find Duplicates From Separate Tables using SQL

This might seem obvious to veterans, but was a HUGE help to me when I figured it out.  The key to finding duplicates using SQL is to change the join key in two tables to the column(s) you want to find duplicates on.  For instance, if I want to find all records from two tables that have duplicate addresses, I would script the following:

Pages

Subscribe to Jason Ryberg RSS
Powered by Drupal