Firewall and FirewallProfile: Add PolicyStore to allow targeting local group policy #428
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
Details of the scenario you tried and the problem that is occurring
Enable the "PolicyStore" parameter to be specified to permit targeting the local group policy store of the machine as well as the default persistent store when using both the Firewall and FirewallProfile resources
Verbose logs showing the problem
New Feature request
Suggested solution to the issue
Add "policystore" as a DSC property for both Firewall and FirewallProfile resources
Set the default value of the "policystore" parameter to be "persistentstore" to make it a non-breaking change and accommodate all existing configurations.
Add "policystore" parameter to
The DSC configuration that is used to reproduce the issue (as detailed as possible)
New Feature request
The operating system the target node is running
Server 2016/2019 - New Feature request
Version and build of PowerShell the target node is running
New Feature request
Version of the DSC module that was used ('dev' if using current dev branch)
dev
I have made and tested the required changes and can happily submit a pull request with the updates to the code and localization strings.
I have also added two Pester tests to the Firewall resources for the helper function "Get-FirewallRule" when the -policystore is specified and the firewall rule is present/absent.
The text was updated successfully, but these errors were encountered: