PowerShell, Red PowerShell $firewall = New-object -ComObject HNetCfg.FwPolicy2 $firewall.Rules | Where-Object {$_.enabled -eq 0} | Select-Object Name, ApplicationName,LocalPorts | sort name 12 $firewall = New-object -ComObject HNetCfg.FwPolicy2$firewall.Rules | Where-Object {$_.enabled -eq 0} | Select-Object Name, ApplicationName,LocalPorts | sort name