windows default to current instead of all

reviewable/pr18780/r1
Timothy Vandenbrande 10 years ago
parent 2a0df8ec04
commit 97d8273558

@ -225,7 +225,7 @@ foreach ($arg in $args){
}; };
}; };
$profile=Get-Attr $params "profile" "all"; $profile=Get-Attr $params "profile" "current";
if (($profile -ne 'current') -or ($profile -ne 'domain') -or ($profile -ne 'standard') -or ($profile -ne 'all') ) { if (($profile -ne 'current') -or ($profile -ne 'domain') -or ($profile -ne 'standard') -or ($profile -ne 'all') ) {
$misArg+="Profile"; $misArg+="Profile";
$msg+=@("for the Profile parameter only the values 'current', 'domain', 'standard' or 'all' are allowed"); $msg+=@("for the Profile parameter only the values 'current', 'domain', 'standard' or 'all' are allowed");

@ -91,7 +91,7 @@ options:
profile: profile:
describtion: describtion:
- the profile this rule applies to - the profile this rule applies to
default: all default: current
choices: ['current', 'domain', 'standard', 'all'] choices: ['current', 'domain', 'standard', 'all']
force: force:
description: description:

Loading…
Cancel
Save