PoshFunctions icon indicating copy to clipboard operation
PoshFunctions copied to clipboard

update ip range to include lowest and highest ip ranges

Open RichieBzzzt opened this issue 1 year ago • 1 comments

Love that the function Get-IpRange returns all the IPs in the range, as so many tools online return the lowest and the highest. However I have noticed that the lowest and highest IPs are not returned by the function. As they are allocated by the CIDR they can be included in what is returned. I have updated the Get-IpRange function to return these IPs.

RichieBzzzt avatar Jun 20 '23 09:06 RichieBzzzt

The highest and lowest value in an IP range are reserved for things like broadcasts. They are not considered valid and that is why I didn't include them

riedyw avatar Aug 15 '24 19:08 riedyw