Ensure state is present if no value provided

This commit is contained in:
Paul Durivage 2014-06-19 10:26:59 -05:00 committed by Matt Martz
parent ba4b2d04d9
commit af0bcb354d

View file

@ -58,6 +58,9 @@ Elseif ($state -eq "absent") {
Fail-Json $_.Exception.Message
}
}
Else {
$state = "present"
}
$feature_results = @()
ForEach ($item in $result.FeatureResult) {