Articles

PowerShell articles, tutorials, and guides from community experts.

Missy Januszko
PowerShell for Admins

DevOps: A Career Changer

Once upon a time, there was this woman at a TechMentor conference a few years ago, sitting in the front of the room during the “Don and Jason" show, a not-quite-scripted discussion on various “lightning” topics. The topic at that moment was DevOps, and this woman was asking for advice on being an advocate for DevOps in her company. Her company had just been acquired, she explained, which meant that the atmosphere was ripe for change, but the culture of the company they had been acquired from was very change-resistant.

WeiYen Tan
PowerShell for Admins

Pester – Parameters and Hashtable Fun!

I have written a short excerpt on how to pass parameters from an object to a Pester test. I have turned this into a function: Invoke-POVTest. The function is primarily for operational validation tests, where you might have a single operational test but you need to test multiple cases. (Sorry, I am not quite sure if I described it properly). I’ll be interested in any feedback. Link to blog post here.

Don Jones
PowerShell for Admins

UPDATE / Tug: The Open-Source DSC Pull Server

If you haven’t taken a look at Tug, now’s a great time. Eugene Bekker has been doing a ton of heavy lifting, taking my .NET Core proof-of-concept code and turning it into a formal ASP.NET MVC project.

Don Jones
PowerShell for Admins

The Key to Understanding PowerShell – on Windows or Linux

I’ve listened to a few of my Windows-friendly compatriots attempting to explain PowerShell to their Linux colleagues, and it hasn’t always gone well. The problem, I think, is that a lot of Windows folks don’t actually know why PowerShell exists in the first place. Let me explain.

msorens
PowerShell for Admins

PowerShell Gotchas

You can certainly find a number of articles around that present PowerShell pitfalls that can easily trip you up if you are not careful. I took a different approach in my three-part series, A Plethora of PowerShell Pitfalls. The first two parts are presented in quiz format, together covering the top 10 “gotchas”. They will help you test your awareness to see if you even realized the danger and did not know you’ve been skirting those traps for awhile.

Don Jones
PowerShell for Admins

The Flavors of Windows Containers

I had a wonderful conversation with some team members around Windows Containers generally, and they had some very cool analogies that I don’t think have been publicized enough. There’s some good technical detail, too, which I think is worth understanding as we move into this brave new world of containerization.

Richard Siddaway
Announcements

Registration is now open

Registration for the 2017 PowerShell and DevOps Global Summit is now open. Click on Summit and follow the links to register

Richard Siddaway
Announcements

PowerShell & DevOps Global Summit 2017 agenda

The agenda for next year’s Summit is almost complete - we’ve notified all speakers as to whether their sessions have been accepted or not. If you haven’t received your notification please check your spam/junk mail. We have a small number of sessions yet to publish - mainly around possible focus groups on the Wednesday afternoon. To view the agenda go to the Summit event site - from https://powershell.org/summit/ click on the Brochure and registration link.

Don Jones
Announcements

Re-Subscribe to New Forums Topic Notifications

Hello, PowerShellers! During our migration and some of the inevitable database resets involved, many of you who were receiving notifications for new forums topics no longer are. You’ll need to re-subscribe. To do so, simply visit the Forums page, click through to the forum(s) of your choice, and poke the “Subscribe” link that’s towards the upper-left-ish of the page. If all you see is an “Unsubscribe” link, then you’re already good to go.

msorens
PowerShell for Admins

Pitfalls of the Pipeline

Pipelining is an important concept in PowerShell. Though the idea did not originate with PowerShell (you can find it used decades earlier in Unix, for example), PowerShell does provide the unique advantage of being able to pipeline not just text, but first-class .NET objects. Pipelining has several advantages: It helps to conserve memory resources. Say you want to modify text in a huge file. Without a pipeline you might read the huge file into memory, modify the appropriate lines, and write the file back out to disk.