DEV Community

Discussion on: How to set mandatory parameters using parameters sets in PowerShell

Collapse
 
mburszley profile image
Maximilian Burszley

A footnote for people stuck in ancient environments, PowerShell v2 attribute arguments cannot be implicitly enabled. You need to use Mandatory = $true