Get-NetFirewallRule | ? { $_.Enabled -eq “True” -and $_.Action -eq “Allow” } | Out-GridView -Title “Select Firewall Rules to change to Block” -OutputMode Multiple | Set-NetFirewallRule -Action Block
Get-NetFirewallRule | ? { $_.Enabled -eq “True” -and $_.Action -eq “Allow” } | Out-GridView -Title “Select Firewall Rules to change to Block” -OutputMode Multiple | Set-NetFirewallRule -Action Block