04 Sep 2012
I’ve done a bit of work with Windows PowerShell lately, here’s a little script to sync AD OUs with ‘Shadow Groups’.
I couldn’t find a full solution that I could pick up and use, so I rolled my own to sync some OUs containing computers with some groups.
The script reads from a CSV that defines the source OUs and the group names you want to populate. Inside the script, the destination OU gets set, where the shadow groups will exist.
I’ve linked to the code below, feel free to use it in any way you want. It’s pretty straightforward, but may contain bugs which I take no responsibility for.
Download: shadowGroupSync.zip
UPDATE
i3laze (i3laze ‘at’ yandex ‘dot’ ru) supplied an updated script that deals with syncing mail-enabled users and child domains, and not just computers. As with the first version, I take no responsibility if the script has bugs or somehow manages to nuke your domain.
Download: i3laze-shadowGroupSync
I’ve done some work to merge the two versions, which will give the script a lot more flexibility as to the object types it will sync, but there’s still got a bit of testing to do before I post it.
UPDATE 2
Newer versions of the script are here. This post is kept as a reference to the first version of the script.
10 Mar 2012
I haven’t been doing much on here in the way of computing lately, so to get back to it, here’s a WordPress plugin I wrote to get a better idea of how the plugin settings API works.
It’s very basic, all it does is change the ‘Howdy’ text in the toolbar (front and backend) to whatever you want by altering the toolbar by injecting the new greeting.
It was good fun to write, so here it is!
WP-AlterHowdy
23 Feb 2012
Download the text file - The Starting Line - Making Love To The Camera
Title: Making Love To The Camera
Artist: The Starting Line
Tuning: EADG
Intro
G|------------------------------------------------------------------|
D|----2-----2--11-----2-----2--1-1----------------------------------|
A|---------------------------------44-4-444-4--22--44-4-444-4--22---|
E|-00---000--------00---000-----------------------------------------|
Verse
G|------------------------------------------------------------------|
D|-22-2-222-2--11--22-2-222-2--1-1----------------------------------| x3
A|---------------------------------44-4-444-4--22--44-4-444-4--22---|
E|------------------------------------------------------------------|
Pre-Chorus
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-0-0--0-00--00-0-4--4--44--------0-0--0-00--00-0-4--4--44---------|
E|-------------------------4--4--44------------------------44-4-4-4-|
G|----------------------------------------------------------|
D|----------------------------------------------------------|
A|-0-0--0-00--00-0-4--4--44--------2--2--224--4--447~-------|
E|-------------------------4--4--44-------------------------|
Chorus1
G|------------------------------------------------------------------|
D|------------------------------------------------------------------| x2
A|---------------------------------0-0-000-00-0-0-00-0-000-00-0-0-0-|
E|-00-02~----------00-02~-------------------------------------------|
Intro
Verse
Pre-Chorus2
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-0-0--0-00--00-0-4--4--44--------0-0--0-00--00-0-4--4--44---------|
E|-------------------------4--4--44------------------------44-4-4-4-|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-0-0--0-00--00-0-4--4--44--------2--2--224--4--447~------7~-------|
E|-------------------------4--4--44---------------------------------|
Chorus2
G|------------------------------------------------------------------|
D|------------------------------------------------------------------| x2
A|---------------------------------0-0-000-00-0-0-02-2-222-22-2-2-2-|
E|-00-02~----------00-02~-------------------------------------------|
Bridge
G|------------------------------------------------------------------|
D|-----------------------------4-67---------------------------------|
A|-0~------0~--0---0~------0~------7-------7---070797------7--07079-|
E|------------------------------------------------------------------|
G|------------------------------------------------------------------|
D|-7--7--7--6-4---7--7--9--11-11-117-------7---070797------7--07079-|
A|--------------7---------------------------------------------------|
E|------------------------------------------------------------------|
G|----------------------------------|
D|----------------------------------|
A|-0-0--0-00--00-0-0-0--0-00--00-0--|
E|----------------------------------|
Chorus3
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|---------------------------------0-0-000-00-0-0-00-0-000-00-07090-|
E|-00-02--22-22-22-00-02--22-22-22----------------------------------|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|---------------------------------0-0-000-00-0-0-00-0-000-00-0-0-0-|
E|-00-02--22-22-22-00-02--22-22-22----------------------------------|
G|----------------------------------|
D|-----------------------7-77-7-7-7-|
A|-0-0-000-00-0-0-00-0-00-----------|
E|----------------------------------|
Tabbed by David Green (david.green'at'tookitaway.co.uk)
23 Feb 2012
Download the text file - A Change Of Pace - Loose Lips Sink Ships
Title: Loose Lips Sink Ships
Artist: A Change Of Pace
Tuning: DADG
Intro
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|------------------------------------------------------------------|
D|-0~------00--0---0~------00--0---0~------00--0---0-0-0-0-0--------|
Verse
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-----1111----1111----111133333333----1111----1111----111133333333-|
D|-0--0----0--0----0--0------------0--0----0--0----0--0-------------|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-----------------1~--------------3~--------------5~---------------|
D|-0~---------------------------------------------------------------|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-----------------1~--------------3~--------------5~------87787787-|
D|-0~---------------------------------------------------------------|
Pre-Chorus
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-----------------1111111111111111----------------1111111133333----|
D|-0000000000000000----------------0000000000000000-----------------|
Chorus1
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-1111111133333333----------------1111111133333333-----------------|
D|-----------------00000-00000-00------------------00000-00000-00---|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-1111111133333333----------------1111111133333333-----------------|
D|-----------------00-00-00-00-0-0-----------------0~---------------|
Verse
Pre-Chorus
Chorus2
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-1111111133333333----------------1111111133333333-----------------|
D|-----------------00000-00000-00------------------00000-00000-00---|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-1111111133333333----------------1111111133333333-----------------|
D|-----------------00-00-00-00-0-0-----------------3333333333333333-|
Bridge
G|------------------------------------------------------------------|
D|------------------------------------------------------------------| x2
A|-----------------1111111111111111----------------1111111133333333-|
D|-3333333333333333----------------0000000000000000-----------------|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|------------------------------------------------------------------|
D|-0~------------------------------0~-------------------------------|
Chorus3
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-1111111133333333----------------1111111133333333-----------------|
D|-----------------00000-00000-00------------------00000-00000-00---|
G|--------------------------------------------------|
D|--------------------------------------------------|
A|-1111111133333333----------------1111111133333333-|
D|-----------------00-00-00-00-0-0------------------|
Outro
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|----111---1113333---111---1113333---111---1113333---111---1113-33-|
D|-000---000-------000---000-------000---000-------000---000--------|
G|-----------------------------------|
D|-----------------------------------|
A|-----1111----1111----111133333333--|
D|-0--0----0--0----0--0------------0-|
Tabbed by David Green (david.green'at'tookitaway.co.uk)
22 Jan 2012
Download the text file - Twin Atlantic - Free
Title: Free
Artist: Twin Atlantic
Tuning: DADG
Intro (No Bass)
Verse1
G|---------------------------------3333333355555555-----------------|
D|-----------------5555555555555357---------------------------------|
A|-5555555555555357--------------------------------5555555555533333-|
D|------------------------------------------------------------------|
PreChorus1
G|------------------------------------------------------------------|
D|--------3-------------------------------3-------------------------|
A|-1111111-33333333----------------1111111-33333333-----------------|
D|-----------------3333333322222222----------------3333333322222222-|
G|--------------------------------------------------|
D|--------3-----------------------------------------|
A|-1111111-33333333----------------1-1-1-1-3-3-3-3--|
D|-----------------3333333322222222-----------------|
Chorus
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-----------------0-00-01-11-11-1-----------------0-00-01-11-11-1--|
D|-3-33-30-00-00-0-----------------3-33-30-00-00-0------------------|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|-----------------0-00-01-11-11-1-----------------0---1---3--------|
D|-3-33-30-00-00-0-----------------3-33-30-00-00-0------------------|
Verse2
G|---------------------------------3333333355555555-----------------|
D|-----------------5555555555555357---------------------------------|
A|-5555555555555357--------------------------------5555555555533333-|
D|------------------------------------------------------------------|
G|------------------------------------------------------------------|
D|------------------------------------------------------------------|
A|--------------------------------011111111333333335555555555533333-|
D|-0000000000000003555555555555535----------------------------------|
PreChorus2
G|------------------------------------------------------------------|
D|---------------------------------------------------------33333333-|
A|-1111111133333333----------------1111111133333333-----------------|
D|-----------------3333333322222222----------------33333333---------|
G|--------------------------------------------------|
D|--------3-----------------------------------------|
A|-1111111-33333333----------------1-1-1-1-3-3-3-3--|
D|-----------------3333333322222222-----------------|
Chorus
Bridge
G|--------------------------------------------------|
D|--------------------------------------------------|
A|-1-11---------5-55---------1-11---------5-7---0-3-|
D|------3-33-3-3-----3-33-3-3-----3-33-3-3----5-----|
G|--------------------------------------------------|
D|---------------000--222-57------------------3-5-7-|
A|-1-11----------------------1-11---------5-3-------|
D|------0-00-0-0------------------0-00-0-0----------|
Chorus
Tabbed by David Green (david.green'at'tookitaway.co.uk)