News

When you write a function, it should only serve a single purpose. If it is supposed to query something, ... Take a look at all of the core PowerShell cmdlets and you will noticed something right away: ...
Functions are a powerful feature of PowerShell that can help you to write more modular, reusable, and maintainable code. In this article, we covered what functions are, how to create them, how to call ...
In-Depth. Q&A: Why You're Writing Your PowerShell Functions Wrong! Don Jones, TechMentor presenter and cochair, discusses some of his observations on how people are using PowerShell, and how they ...
Posey's Tips & Tricks. How To Validate Input in PowerShell Functions, Part 1. If your automated script takes action based on a value, it's critical to make sure the value is correct.