The Allow attributes are most commonly used when a parameter is mandatory. If a parameter is mandatory, PowerShell will automatically disallow assignment of empty values, that is, empty strings and empty arrays. The Allow attributes can be used to modify that behavior. The attributes make it possible to require a parameter, but still allow empty values.