Skip to content

Commit

Permalink
SqlWindowsFirewall: Avoid Duplication of SQL Server Browser Firewall …
Browse files Browse the repository at this point in the history
…Rule (#1944)

- SqlWindowsFirewall
  - Fix duplication of SQL Server Browser Firewall Rule when deploying
    Analysis Services feature (issue #1942).
  • Loading branch information
jerfried authored May 18, 2023
1 parent f9bde8a commit 527dcd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Import-SqlDscPreferredModule`
- Now when parameter `Force` is passed the command correctly invoke
`Get-SqlDscPreferredModule` using the parameter `Refresh`.
- SqlWindowsFirewall
- Fix duplication of SQL Server Browser Firewall Rule when deploying
Analysis Services feature ([issue #1942](https://github.com/dsccommunity/SqlServerDsc/issues/1942)).

## [16.3.1] - 2023-05-06

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ function Set-TargetResource
}

New-NetFirewallRule @browserFirewallRuleParameters
$getTargetResourceResult.BrowserFirewall = $true
}
}

Expand Down Expand Up @@ -544,6 +545,7 @@ function Set-TargetResource
}

New-NetFirewallRule @browserFirewallRuleParameters
$getTargetResourceResult.BrowserFirewall = $true
}
}

Expand Down

0 comments on commit 527dcd4

Please sign in to comment.