February 2019
Intermediate to advanced
626 pages
15h 51m
English
PowerShell offers a number of validation attributes to test the content of arguments passed to parameters. There are two general classes of validation attribute; the first validates the argument as a single object, which tests the value as a whole:
The second validates enumerated arguments. These validation attributes can be applied to parameters that accept arrays. The validation step applies to each element in the array. The enumerated argument validation attributes are:
The validation attributes are documented in about_Functions_Advanced_Parameters with the exception of the ...
Read now
Unlock full access