diff --git a/windows/win_feature.ps1 b/windows/win_feature.ps1 index cbb73789f48..4391de5eef3 100644 --- a/windows/win_feature.ps1 +++ b/windows/win_feature.ps1 @@ -58,6 +58,9 @@ Elseif ($state -eq "absent") { Fail-Json $_.Exception.Message } } +Else { + $state = "present" +} $feature_results = @() ForEach ($item in $result.FeatureResult) {