List/Grid Tag Archives: resolving
#PSTip Resolving an IP Address to host name and vice versa using .NET
Note: This tip requires PowerShell 1.0 or above. In an earlier tip, we showed you how to resolve IP addresses using WMI. In PowerShell, there is always more than one…
#PSTip Resolving IP addresses with WMI
When we need to resolve addresses, we usually use the System.Net.Dns .NET class methods. In addition to the .NET method, we can also use WMI class–Win32_PingStatus–to achieve this. The Test-Connection cmdlet…
#PSTip Resolve IP Address or a host name using .NET Framework
Using the GetHostEntry static method of the .NET Framework System.Net.Dns class it is possible to resolve IP address or a host name: If the IP address is what is required then…
