News

PowerShell functions act as small, reusable building blocks of code that streamline your workflow and make your scripts more efficient. We’ll explain more about PowerShell functions and share basic ...
How To Validate Input in PowerShell Functions, Part 2 As Brien demonstrates, string validation is not the only type of input validation that PowerShell can perform.
Old-school script authors use if test <condition>, and you'll sometimes see that show up, but it's rare nowadays. This month, I want to finish this discussion by exploring how the return command ...
Unleashing PowerShell Working with strings is certainly a necessary function when developing scripts and executing administrative tasks, but let’s take a look at some more useful ways to put ...
Scriptblocks are a ubiquitous part of PowerShell and are a construct that every PowerShell developer should understand.
Learn how to use loops and dynamic object naming in PowerShell to build GUI settings interfaces that can adapt as new parameters are added.
Autocomplete—found everywhere from text messaging apps to IDEs—can seem like a fairly modern innovation, but it’s been present in various forms of Unix since the early 80s, if not earlier. Linux ...
Every time we publish a Linux hack that uses a shell script, someone will chime in about how awful it is to program shell scripts. While we like the ubiquity and efficiency, we can’t disagree… ...