Skip to content

Commit

Permalink
Merge pull request #241 from freni59/dev
Browse files Browse the repository at this point in the history
Fix MSFT_xFirewall DisplayName incorrectly set to Name (Fixes #234)
  • Loading branch information
Tyson J. Hayes committed Jul 30, 2017
2 parents 2a850cd + 55f4636 commit ec1d0c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ function Set-TargetResource
$null = $PSBoundParameters.Remove('DisplayName')
if ($DisplayName -ne $FirewallRule.DisplayName)
{
$null = $PSBoundParameters.Add('NewDisplayName',$Name)
$null = $PSBoundParameters.Add('NewDisplayName',$DisplayName)
}
}

Expand Down

0 comments on commit ec1d0c5

Please sign in to comment.