Add IP address to Existing Firewall Rule

Hi All,

Refer this script to add external IP address to the existing firewall rule.

Editing Parameters:

Profile_name=‘Network Discovery (LLMNR-UDP-Out)’ #Provide the Existing Firewall Rule Name which you need to modify.

myip=‘’ #Provide the IP which you need to add on the firewall.


  • The script supports in Windows 10, Windows 8 and Windows 8.1.
  • Run as System User

Thank you.