News

The purpose of PowerShell profile functions is to perform any specified tasks. For example, if you want to open a specific web address on your browser like Microsoft Edge.
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 ...
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. Good thing ...
Designing PowerShell functions, like coding, is an art. There are lots of shortcuts and best practices that you will come up with yourself to make your coding easier over the long run.
However, if you're new to writing PowerShell functions, you may find that your function breaks when you attempt to use the pipeline. To use the pipeline effectively, a function must be specifically ...