Skip to main content


This Script is part of the Common Scripts Pack.#

Returns "yes" if the IP address is within one of the ranges provided. Otherwise it will return "no".

Script Data#

Script Typejavascript


Argument NameDescription
ipThe IP address to check in ranges.
ipRangesThe list of IP address ranges to check the IP addresses in. The list should be provided in CIDR notation, separated by commas. For example, ",," (without quotes). If a list is not provided, it will use a default list provided in the IsIPInRanges script (the known IPv4 private address ranges).


yesWhether a given value is within an IP address range.Unknown
noWhether a given value is not within an IP address range.Unknown
IP.AddressThe IP address.Unknown
IP.InRangeWhether the IP address is within the input ranges. Can be, "yes" or "no".)Unknown