I need to come up with PowerShell code that puts a firewall rule in place, where this rule is tied to an executable that, in its turn, comes from an installed AppX package. The executable, thus, sits beneath C:\Program Files\WindowsApps.
Firewall rules can be tied to executables but is this the right approach in the case of an executable sitting beneath C:\Program Files\WindowsApps in the first place?