I am trying to get the ipaddress from a hostname using Powershell, but I really can't figure out how.
Any help?