Articles

PowerShell articles, tutorials, and guides from community experts.

Don Jones
Announcements

The New Look of the Scripting Games

I’ve been busily working on a new interface for the Scripting Games - we’re still planning a Winter Games event - and wanted to share progress. You can click this thumbnail to see the full image. The new Scripting Games features movable, resizable panes The new layout features movable, …

Don Jones
Announcements

Seeking Curators for PowerShell eBooks

[UPDATE: I think I’ve finally gotten all the books under curation - but if you’ve an idea for a PowerShell-related ebook, and would like to co-author or even be a principal author (I’ll help out with logistics), still hit me up.] As you may know, PowerShell.org hosts a number of …

Don Jones
Announcements

Nominate Your PowerShell Hero

PowerShell.org is proud to announce a new community recognition program: PowerShell Heroes. We’re looking for your Hero nominations! A PowerShell Hero is someone who you feel does an outstanding job helping the community, perhaps by answering questions in forums (here or elsewhere), writing …

Don Jones
Scripting Games

Winter Scripting Games: More Feedback Needed

So I’m continuing to work through some logistics regarding the Winter Scripting Games (and no, there’s no dates set). The intent of these Games, as I’ve written before, is to offer a collaborative experience. You’ll work in teams of (proposed) 2-6. You have two ways to join a …

Don Jones
Books

Great Debate: The Conclusion

All this Summer, we’ve been encouraging your feedback in a series of Great Debate posts. Most of the topics came from the 2013 Scripting Games, where we definitely saw people coming down on both sides of these topics. My goal was to pull everyone’s thoughts together into a kind of …

John Mello

PhillyPoSH 09/05/2013 meeting summary

Author, Scripting Games 2013 winner, and founder of the Mississippi PowerShell User Group, Mike Robbins, gave a presentation entitled “Using CIM Cmdlets and CIM Sessions” via Lync. Afterwards various group members participated in script and tell. A recording of the meeting is available …

Don Jones
Training

Writing Courseware: 10961 PowerShell Class

We’re in the process of working on a 10961C revision to the Microsoft PowerShell course, and I’ve been reviewing the anonymous comments submitted by MCTs and students on 10961A (the “B” rev, which is what was produced after our beta teach, is just now orderable so we …

Don Jones
PowerShell for Admins

Regular Expressions are a -replace's best friend

Are you familiar with PowerShell’s -replace operator? "John Jones" -replace "Jones","Smith" Most folks are aware of it, and rely on it for straightforward string replacements like this one. But not very many people know that -replace also does some amazing stuff …

Don Jones

PowerShell Great Debate: "Fixing" Output

When should a script (or more likely, function) output raw data, and when should it “massage” its output? The classic example is something like disk space. You’re querying WMI, and it’s giving you disk space in bytes. Nobody cares about bytes. Should your function output …