Just a quick fyi for anyone using Intune to distribute firewall rules with the “Endpoint Protection > Windows Firewall” profile for the first time.
Any rules you set won’t be visible in the wf.msc GUI or using PowerShell’s Get-NetFirewallRule.

The only place you can see those rules is the registry under this key

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\Mdm\FirewallRules
  • LobsterScuttle@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    Thanks for posting that, it was a major frustration of mine.

    FYI, I’ve been having success with Powershell running this: Get-NetFirewallRule -PolicyStore MDM

    I’m going to add that registry entry to my notes though because I am constantly checking this, very annoying that it isn’t seen in the GUI.