Added more robust regex's for the Get-IPRange function. CIDR regex allows for users to enter from /16 to /32 but will notify users if the range is too big or small to allow users to adjust the range. Will give invalid format error if outside of those ranges.
Changed the $imax calculation to ensure that last useable IP in range is being scanned. it is currently dropping the last useable IP :)
Added more robust regex's for the Get-IPRange function. CIDR regex allows for users to enter from /16 to /32 but will notify users if the range is too big or small to allow users to adjust the range. Will give invalid format error if outside of those ranges.
Changed the $imax calculation to ensure that last useable IP in range is being scanned. it is currently dropping the last useable IP :)