One of the validation attributes for PowerShell function parameters, called ValidatePattern, enables you to specify a regular expression that parameter values will be tested against. Although you can achieve the same technique using the ValidateScript parameter attribute, the ValidatePattern attribute offers simplified syntax.
Producer: Trevor Sullivan
Website: https://trevorsullivan.net
Twitter: / pcgeek86
Gab: https://gab.ai/trevors
#PowerShell #Microsoft #automation
On this page of the site you can watch the video online Use Regular Expressions to Validate PowerShell Function Parameters with a duration of hours minute second in good quality, which was uploaded by the user Trevor Sullivan 29 January 2019, share the link with friends and acquaintances, this video has already been watched 1,017 times on youtube and it was liked by 34 viewers. Enjoy your viewing!