Quantcast
Channel: Active questions tagged powershell-3.0 - Stack Overflow
Viewing all articles
Browse latest Browse all 50

PowerShell catch exception in Param() block

$
0
0
Param(    [ValidateRange(21,90)]    [int[]]$Age)

How to catch exception when $age is out of range?


Viewing all articles
Browse latest Browse all 50

Latest Images

Trending Articles





Latest Images