News

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.
For better organization, write reusable functions and call them at the end of your script (more on this below). Use indentation to create a clear visual structure, making script blocks easier to ...
Newbies typically learn about PowerShell functions after they've learned what the pipeline is, how cmdlets work and how to accomplish some basic tasks. Functions aren't typically learned until later - ...
If you need multiple functions to accomplish your goal, then add those into a module. Proper Naming of a Function Take a look at all of the core PowerShell cmdlets and you will noticed something right ...
What started out as a personal project to fine-tune new Windows 10 has blossomed into a full GitHub project supporting versions 1809 and up. It lets you uninstall OneDrive the correct way, and more.
Want to start learning PowerShell today? The full bundle includes 18 hours of lessons and tutorials, and it's all on sale for hundreds off the MSRP at $19.99.
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 ...