July 2018
Beginner
552 pages
13h 18m
English
If the same validation method is used in all roles, ValidateSets will include all options and ValidatePatterns will include all patterns with a regexOR:
$capA = @{VisibleCmdlets = 'Get-Process'; Parameters = @{Name = 'Name'; ValidateSet='A','B'}}$capB = @{VisibleCmdlets = 'Get-Process'; Parameters = @{Name = 'Name'; ValidateSet='C'}}$merge = @{VisibleCmdlets = 'Get-Process'; Parameters = @{Name = 'Name'; ValidateSet='A','B''C'}}
Read now
Unlock full access