PoshFunctions
PoshFunctions copied to clipboard
update ip range to include lowest and highest ip ranges
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.
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