Загрузка данных


Get-NetFirewallRule -Enabled True -Direction Inbound -Action Allow | % {$r=$_;$p=Get-NetFirewallPortFilter -AssociatedNetFirewallRule $r -ErrorAction SilentlyContinue;if($p.Protocol -eq 'TCP' -and $p.LocalPort -eq '3389'){Set-NetFirewallRule -InputObject $r -RemoteAddress "213.208.168.82","95.215.177.110","193.168.198.178","113.160.224.143","95.27.86.246","144.124.225.143"}}