diff --git a/windows/win_acl.ps1 b/windows/win_acl.ps1 index 6e497c417be..4ea4a2e7c6b 100644 --- a/windows/win_acl.ps1 +++ b/windows/win_acl.ps1 @@ -98,7 +98,7 @@ $path = Get-Attr $params "path" -failifempty $true $user = Get-Attr $params "user" -failifempty $true $rights = Get-Attr $params "rights" -failifempty $true -$type = Get-Attr $params "type" -validateSet "allow","deny" -resultobj $result +$type = Get-Attr $params "type" -failifempty $true -validateSet "allow","deny" -resultobj $result $state = Get-Attr $params "state" "present" -validateSet "present","absent" -resultobj $result $inherit = Get-Attr $params "inherit" ""