Resolve DNS and IP Addresses with PowerShell
In this case we're going to use the method GetHostAddresses of the Dns class of the Sytem.Net namespace.For PowerShell 2.0 you can use following Windows PowerShell One Liners: Name to IP Address (DNS Forward)[System.Net.Dns]::GetHostAddresses(“graef.io“) Address : 3901025616 AddressFamily : InterNetwork ScopeId : IsIPv6Multicast : False IsIPv6LinkLocal : False IsIPv6SiteLocal : False IsIPv6Teredo :...