Display: Cloud | List
Most Popular Tags
Results (4 total) All > powershell (x) > system.net.dns (x)
GetHostEntry using IP Address - Sample using PowerShell (Dns.GetHostEntry Method (IPAddress) (System.Net))
<#.SYNOPSIS Demonstrates use of the GetHostEntry method of System.Net.DNS Class.DESCRIPTION This script is a an MSDN sample, using PowerShell. This script uses the IP address of the host to find..NOTES File Name : Get-HostEntry2.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2.LINK Sample posted to: http://pshscripts.blogspot.com/ Original M
Last modified by Thomas Lee on 10/5/2010 2:04:21 PM
GetHostEntry Sample, using PowerShell (Dns.GetHostEntry Method (String) (System.Net))
<#.SYNOPSIS Demonstrates use of the GetHostEntry method of System.Net.DNS Class.DESCRIPTION This script is a an MSDN sample, using PowerShell.NOTES File Name : Get-HostEntry.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2 CTP3.LINK Sample posted to: http://pshscripts.blogspot.com/2009/04/get-hostentryps1.html Original MSDN sample at: http://msd
Last modified by Thomas Lee on 10/5/2010 1:35:00 PM
GetHostByName - Sample using PowerShell (Dns Class (System.Net))
&lt;#.SYNOPSIS This script gets and displays basic DNS Information about a host..DESCRIPTION This script just gets and displays host details returnd by GetHostByName..NOTES File Name : Get-HostByName.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to: http://www.pshscripts.blogspot.com MSDN sample posted tot:
Last modified by Thomas Lee on 10/5/2010 1:17:28 PM
GetHostAddress Using PowerShell (Dns.GetHostAddresses Method (System.Net))
# get-hostaddress.ps1# Sample using PowerShell# Thomas Lee - tfl@psp.co.uk # takes a parameterParam ([string] $hostname = "www.microsoft.com") # Get IP address$ips = [System.net.Dns]::GetHostAddresses($hostname) # Display results"GetHostAddresses({0}) returns:" -f $hostname foreach ($ip in $ips) {" {0}" -f , $ip} This script (called with no parameters displays the following outp
Last modified by Thomas Lee on 4/21/2008 4:59:59 PM
Page view tracker