netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow
The above is the last line of my PS1 script that opens up the firewall ports for sccm and sql to communicate with each other. The last line of my script fails and I am not sure why. The other lines were successful.
I get a specified protocol value is not valid.