I was successfully able to enable ICMP echo using below cmdlet with administrator role
netsh advfirewall firewall set rule name="File and Printer Sharing(Echo Request - ICMPv4-In)"
protocol=icmpv4:8,any dir=In new enable=yes
But can we achieve this using PowerCLI cmdlet ,enabling multiple vms(Ex: IPs) simultaneously via script?