When you first start writing scripts, modularity, reusability, and best practices may not be top of mind. As your scripts become more complex, however, creating reusable elements becomes essential. By ...
Editor's note: Adam Bertram originally wrote the article and Brien Posey expanded it. The PowerShell parameter is a fundamental component of most PowerShell scripts. Parameters make it possible to ...
If you want to build an Azure Functions app with PowerShell, don't start in Azure. That may sound counterintuitive, but in this video, Anthony Howell, PowerShell consultant and DevOps engineer at ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
One of the best things about Windows PowerShell is the pipeline. The pipeline is beneficial in so many ways, and it is in part what makes PowerShell fun to code in. The capability of the pipeline to ...
Here's how to make the jump from simple lines of code to something that's a lot more useful. After reading countless blogs online, purging through hundreds of pages of books, you feel comfortable ...
Don Jones, TechMentor presenter and cochair, discusses some of his observations on how people are using PowerShell, and how they could do a better job. If you ever need to know more about PowerShell, ...
In Part 1 of this series, I showed you an example of PowerShell's native validation capabilities. In that installment, I wrote a function that accepted a text string as input. The function then used ...
Last month, I explored exit codes and how decent error correction in your shell scripts always should include testing the value of $? after each meaningful command ...