1 2 |
$firewall = New-object -ComObject HNetCfg.FwPolicy2 $firewall.Rules | Where-Object {$_.enabled -eq 1 -and $_.Action -eq 1} | Select-Object LocalPorts,Name | sort name |
1 2 |
$firewall = New-object -ComObject HNetCfg.FwPolicy2 $firewall.Rules | Where-Object {$_.enabled -eq 1 -and $_.Action -eq 1} | Select-Object LocalPorts,Name | sort name |