Pare Feu

Powershell


new-netfirewallrule -name {name} -displayname {description} -direction {inbound|outbound} -localport {port_nb1,port_nb2,port_range_start-port_range_end} -protocol {tcp|udp|icmp…} -action {allow|block} -profile {any|domain|private|public}