New-NetFirewallRule -Name "Allow_Ping" -DisplayName "Allow ICMPv4-In (Ping)" -Protocol ICMPv4 -IcmpType 8 -RemoteAddress LocalSubnet -Profile Private -Direction Inbound -Action Allow

Unblocking Aerotech ports
New-NetFirewallRule -DisplayName "Open 12200 TCP" -Direction Inbound -Protocol TCP -LocalPort 12200 -Action Allow
New-NetFirewallRule -DisplayName "Open 12200 UDP" -Direction Inbound -Protocol UDP -LocalPort 12200 -Action Allow
New-NetFirewallRule -DisplayName "Open 12205 TCP" -Direction Inbound -Protocol TCP -LocalPort 12205 -Action Allow
New-NetFirewallRule -DisplayName "Open 12205 UDP" -Direction Inbound -Protocol UDP -LocalPort 12205 -Action Allow































