Made win_iis_webapppool Strict Compliant
This commit is contained in:
parent
8e509c2736
commit
8e557dfc45
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ If (($state -Ne $FALSE) -And ($state -NotIn $valid_states)) {
|
|||
# Attributes parameter - Pipe separated list of attributes where
|
||||
# keys and values are separated by comma (paramA:valyeA|paramB:valueB)
|
||||
$attributes = @{};
|
||||
If ($params.attributes) {
|
||||
If (Get-Member -InputObject $params -Name attributes) {
|
||||
$params.attributes -split '\|' | foreach {
|
||||
$key, $value = $_ -split "\:";
|
||||
$attributes.Add($key, $value);
|
||||
|
|
Loading…
Reference in a new issue