I found the below a.net code, which returns true or false based the value of the $ip vary. I'm having trouble actually using the returned values to perform either a continue or stop processing based on the result. Can anyone assist?
[ref]$a =$null
[system.net.IPAddress]::tryparse($ip,$a)
Thanks,
Bryan