Tema: netsecurity
-
Scoping Windows Defender Firewall rules with NetSecurity without locking out your own session
Get-NetFirewallProfile and New-NetFirewallRule manage Windows Defender Firewall from PowerShell; scoping a rule by -RemoteAddress and -Profile keeps a management port open only to the addresses and network types that need it, and testing from a second session avoids cutting off the one you're using.
Legible por máquina: JSON