#PSBlogWeek 2 – Parameter Validation in Advanced Functions by Mike Robbins

Check out this great post by Mike Robbins, part 2 of #PSBlogWeek, covering basic parameter validation in PowerShell.

You don’t think much about parameter validation while writing scripts for yourself, but they’ll save you a lot of headaches once you start creating tools for other people to use. Properly used, parameter validation can make your script almost self-documenting for a new user, prompting them for the needed information.

If you missed it, be sure to check out Francis-Xavier Cat’s part 1 of #PSBlogWeek, discussing standard and advanced functions (and why you should be writing advanced functions).

This entry was posted in QuickLinks and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *