# Create incoming rule for Ping New-NetFirewallRule -DisplayName "Ping" -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -Action Allow # Create incoming rule for CIW on Total Care PC New-NetFirewallRule -DisplayName "CIW Syslog" ` -Direction Inbound ` -Protocol UDP ` -LocalPort 514 ` -Action Allow ` -Profile Private New-NetFirewallRule -DisplayName "CIW Email" ` -Direction Inbound ` -Protocol TCP ` -LocalPort 25 ` -Action Allow ` -Profile Private # Create outgoing rule for CIW on NVRs New-NetFirewallRule -DisplayName "CIW Email" ` -Direction Outbound ` -Protocol TCP ` -LocalPort 25 ` -RemotePort 25 ` -Action Allow ` -Profile Private,Public New-NetFirewallRule -DisplayName "CIW Syslog" ` -Direction Outbound ` -Protocol UDP ` -LocalPort 514 ` -RemotePort 514 ` -Action Allow ` -Profile Private,Public