News

PowerShell How-To Getting Input into Your PowerShell Functions with Parameters Here's a quick walkthrough of how to build function parameters in reusable snippets. By Adam Bertram 04/07/2016 ...
Making code adaptable is a key skill for any coder. Here's a primer on how to stretch function parameters to fit a variety of situations. As with any programming language, a PowerShell coder is always ...
Learn how to use loops and dynamic object naming in PowerShell to build GUI settings interfaces that can adapt as new parameters are added.
Write functions with clear inputs (parameters) and outputs to make them flexible. For example, instead of hard coding a username in your script, allow it to be passed as a parameter.
If your automated script takes action based on a value, it's critical to make sure the value is correct. Good thing PowerShell has ways to validate the values that are passed to a function.