Enable ping in Windows Server for specific IP addresses only?

Add to the netsh advfirewall command the following parameter:

remoteip=IPAddress