The Surly Admin

Father, husband, IT Pro, cancer survivor

Network Discovery – Part 2

Time for Part 2 of talking about Network Discovery, the Powershell version.  Part 1 can be found here.

Continue reading

April 16, 2013 Posted by | PowerShell | , , , | 1 Comment

Network Discovery – Part 1

My most popular script on Spiceworks, by far, is Network Discovery.  I posted it over 3 years ago, and actually wrote it much earlier than that!  Time to take another look at it and give it a Powershell make-over.  If you’re new to a company and want to find out the basics of what is going on, or a consultant going into new places all the time you’ll want to take a look at this script!

Continue reading


April 11, 2013 Posted by | PowerShell | , , , , | 5 Comments

Distributed Computing and Powershell

Great little script request came across on Spiceworks last week, something I’ve been looking forward to for a long time but never really thought I’d get a chance to do.  Time to unlock the power of Remoting in Powershell and dive into true Distributed Computing–not multi-threading, but Distributed Computing!

Continue reading

April 8, 2013 Posted by | PowerShell | , , , | 3 Comments

Write-Progress – Feedback is Good

I’m not the most patient person in the world, nor the most trusting and this has always translated itself into my scripts by giving constant feedback on what’s going on.  Write-Progress is a great mechanism for doing this within Powershell as it will provide you with a cool looking progress bar, and bonus, it’s really easy to use!

Continue reading

March 7, 2013 Posted by | PowerShell | , , | 1 Comment

Multithreading Revisited – Using Jobs

I wrote about multithreading using Runspace here, but I also wanted to talk about running them the Powershell way using jobs.  I want to make sure I give credit where it’s due, because most of my work in Jobs is based on Ryan Witschger‘s work.  He writes a great Powershell blog called (great site name, too).  Anyway, read on for my riff on Powershell jobs and the 3 step process you need to use them.

Continue reading

March 4, 2013 Posted by | PowerShell, Powershell - Performance | , , , , , , | 13 Comments