renamed profile var
This commit is contained in:
parent
97d8273558
commit
d87da2ba2d
1 changed files with 3 additions and 3 deletions
|
@ -225,13 +225,13 @@ foreach ($arg in $args){
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
$profile=Get-Attr $params "profile" "current";
|
$winprofile=Get-Attr $params "profile" "current";
|
||||||
if (($profile -ne 'current') -or ($profile -ne 'domain') -or ($profile -ne 'standard') -or ($profile -ne 'all') ) {
|
if (($winprofile -ne 'current') -or ($winprofile -ne 'domain') -or ($winprofile -ne 'standard') -or ($winprofile -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");
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$fwsettings.Add("profile", $profile)
|
$fwsettings.Add("profile", $winprofile)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($($($misArg|measure).count) -gt 0){
|
if ($($($misArg|measure).count) -gt 0){
|
||||||
|
|
Loading…
Reference in a new issue