February 2019
Intermediate to advanced
626 pages
15h 51m
English
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.
Read now
Unlock full access