Validation attribute classes

PowerShell classes may be used to build custom validation attributes. This might act as an alternative to ValidateScript in some respects.

Validation attributes must inherit from either ValidateArgumentsAttribute or ValidateEnumeratedArgumentsAttribute.

Validators are most often used with parameters in scripts and functions, but they may be used with any variable.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.67.251