Version 3.0
Adds two new cmdlets. Also, documentation updates.
Get-PassiveFirewallRules is used to take a snapshot of the firewall rules from the registry. Typical use is to take a snaphot before and after an application installation. These snapshots are used by the second Redo-PassiveNewFirewallRules cmdlet.
Redo-PassiveNewFirewallRules is used to re-apply changed rules between two snapshots.
The reason for these rules is that when vendor installers add firewall rules, the rules are written by an svchost process and therefore ignored by the Microsoft MSIX Packaging Tool. The Redo cmdlet will re-apply any new rules present in the second snapshot by re-writing the registry entries to cause the MMPT to capture them in the package.
The MMPT will still fail to add the rules into the AppXManifest, but using TMEditX (version 7.1 or above) to fix up the package will now detect the rules in the virtual registry and apply them for you.