Articles

PowerShell articles, tutorials, and guides from community experts.

Don Jones
Books

Free eBook from Microsoft's Scripting Guy: Windows PowerShell Networking Guide

Ed Wilson, Microsoft’s Scripting Guy, has created a free ebook, _Windows PowerShell Networking Guide. _It’s designed to provide a super-quick PowerShell crash course, and then show you how to manage various networking scenarios by using the shell. And it’s free! Just click the link to get your copy - and please, tell a friend! PoshNetworking.pdf

Richard Siddaway
Scripting Games

Closing the Games

The judging is complete for the fourth and final event in the 2014 Winter Scripting Games. This Games was something very different in that we presented 4 we complex scenarios that were designed to be as close as possible to the type of tasks you may have to perform at work. The solutions required multi-file answers - there’s no way you could solve these with a one liner! All of the teams that submitted entries rose to meet the hardest challenge I’ve seen in a Scripting Games - and I’ve taken part of judged all but the first Games.

Don Jones
Scripting Games

What Should The Scripting Games Look Like Next Time?

If you’ve been following along with The Scripting Games over the past couple of iterations, you know that we’ve been trying some different, new things. This Winter Games, we did a team-based series of events that threw some really complex scenarios at you. However, we know some folks would like to see the next Summer Games include a less-complex track that perhaps includes a focus on one-liners. (Not that one-liners are an essential part of a work environment, but they’re fun and a good competitive thing - this is games, after all.

Terri Donahue

PowerShell Saturday 007 in review

PowerShell Saturday was a huge success. Thank you to all of the speakers, event organizers, and most of all attendees for making it a great day. A new Iron Scripter was crowned and received this awesome trophy. Congrats to Stephen Owen aka @SRed13! There were many great sessions for both beginners and advanced scripters. Some of the speakers even posted slides, videos, and scripts of their presentations. Check out Brian Wilhite’s, @bwhilhite1979, ‘CIM’narios downloads from the event.

Jonathan Medd
Scripting Games

Testing for the Presence of a Registry Key and Value

There are a number of different ways to test for the presence of a registry key and value in PowerShell. Here’s how I like to go about it. We’ll use an example key HKLM:\SOFTWARE\TestSoftware with a single value Version: Click here to be redirected to the original post of this article on the author’s blog site where you can read the remainder of the article.

Don Jones
Announcements

Problems with Windows Live Logins

I know we’re currently seeing folks having a problem logging into the site by means of Windows Live accounts. Unfortunately, the problem is on Microsoft’s end - we’ve submitted a ticket. In the meantime, I want to point out a neat feature that can help: You can log in using a different social account, and if it or you provides the same e-mail address that you use with your Live account, our site will link the two.

Boe Prox
Scripting Games

Using PowerShell Parameter Validation to Make Your Day Easier

A number of entries in the Winter Scripting Games use parameter validation, but some that I have seen may not be using it correctly or to its full potential. Writing functions or scripts require a variety of parameters which have different requirements based on a number of items. It could require a collection, objects of a certain type or even a certain range of items that it should only accept.

Don Jones
Training

MY 2014 Public POWERCLASS is Now Open for Registration

I’m going to be running a 3-day POWERCLASS April 2, 3, and 4 near Raleigh-Durham, NC! You can get full details on my company’s website, including pricing and class descriptions. Don’t leave near Raleigh-Durham? Well, it’s a fun place, and not that expensive to visit. More importantly, I’m not going to be doing a huge road-show and visiting a bunch of cities. Right now, my schedule is almost full through _September, _so this may well be the only public class I do in 2014.

Richard Siddaway
Scripting Games

Scripting Games event 1 close

Event 1 is over and the judging is complete. First off congratulations to every team that posted an entry - the events in these games are different and we’ve tried to up the challenge level to account for it being a team based. The high scorers for event 1 are: 1.Troll Bait with 22 points 2.Kitton Mittons with 22 points 3.Aliens with 20 points 4.PhillyPosh with 20 points 5.Thanks4TheInvite with 17 points