💡 PowerShell Tip – Find a Windows Firewall rule by port
If you know the port but not the rule name, you can resolve the rule via the port filter:
PowerShell
Get-NetFirewallPortFilter | Where-Object { $_.LocalPort -eq 11434 } | Get-NetFirewallRule
Useful for troubleshooting when an application opens a port but the corresponding firewall rule name is unknown.