The Surly Admin

Father, husband, IT Pro, cancer survivor

A Practical Guide to GitHub for the PowerShell Scripter

When I first started dipping my fingers into the GitHub pool, it was because I really felt there was a need.  Version control was becoming an issue and having to re-write code I’d already perfected because of a glitch somewhere on the way–translation: accidentally deleting the wrong file–was something that just had to be addressed.  And, I think like a lot of PowerShell scripters, I soon started asking questions like:  WTF is this?  What is going on?  Who came up with this crap?  I’m no expert, but read on if you’re interested in learning how to use PowerShell and GitHub together.

Continue reading

Advertisement

February 22, 2016 Posted by | PowerShell, Technical | , , , , | 1 Comment

Extending the Active Directory Schema

Bit of a departure from my normal PowerShell-centric posts, I want to talk about extending the Active Directory schema.  There’s some really great information on the Internet for doing this, but there are some things to consider and none of that information seems to be in one place, and I wanted to bring it together here.

Continue reading

July 7, 2014 Posted by | Technical | , , , | 1 Comment

Pebble and Vacation

You may or may not know that I recently purchased a Pebble, and while everything isn’t perfect with it I have really found myself enjoying it and wanted to write a bit about my experiences with it!  Read on, if you’re interested!

Continue reading

August 2, 2013 Posted by | General, Technical | , | Leave a comment

Brave New World – Meraki Network Equipment

I don’t normally hawk equipment on this blog, but I have to rave a bit about Meraki network equipment.  These guys are game changers, so much so that Cisco felt compelled to buy them.  I just hope they don’t screw it up!  This is the future of networking equipment, and the template for every device you own.

Continue reading

March 25, 2013 Posted by | Technical | , | Leave a comment

Major Outage at Work

Nothing quite like waking up in the morning and getting a notification that everything is down, and the kitchen sink is clogged too.

Continue reading

March 14, 2013 Posted by | Technical | , , | 3 Comments

The Surly Lab

One problem I’ve had for a while now is the lack of a good testing lab.  I’ve had a pretty nice server downstairs in the basement, and it was running VMware vSphere 4.1 with a couple of servers on it but then one day awhile back I decided to upgrade from a 2003 infrastructure to one based on 2008 R2 and that’s when things started to go bad.

Continue reading

January 28, 2013 Posted by | Technical | , , , , | Leave a comment

Busy Weeks

No post today for a couple of reasons.  Last two weeks have been remarkably busy, what with my backup server crashing 2 weeks ago (here) and then one of our ERP’s crashing last week–yes, we have two, don’t ask!–I just haven’t had time to work on my script projects.  It’s also been pretty quiet on the Spiceworks front so nothing really interesting coming across there.

Continue reading

November 5, 2012 Posted by | General, Technical | Leave a comment

Random Thought Friday

Nothing much going on lately, well, except for…

Continue reading

October 26, 2012 Posted by | Random Thoughts, Technical | , | 1 Comment

Of Mistakes and Modules

Recently I’ve been doing more with Powershell functions, and blissfully telling people to run the script and then the function is available to you.  This is great if you use a Powershell ISE, either the built in one or a third-party one like PowerGUI.  ISE’s will keep functions alive after you’ve run your script, which is a great feature while you’re testing a new script.  The shell, on the other hand, isn’t so forgiving.  Run it there and it loads into memory and as soon as the script finishes it promptly is DUMPED from memory.

Oops, sorry about that!

Continue reading

September 9, 2012 Posted by | General, PowerShell, Random Thoughts, Technical | , , | 1 Comment

Self inflicted pain – part 2

August 5th, 2010: the day I really began to wonder why I do this stuff to myself.

Continue reading

August 13, 2010 Posted by | Technical | Leave a comment