Display: Cloud | List
Most Popular Tags
Results (2 total) All > system.net.networkinformation (x)
Sample Show-NetworkInterfaces recoded in PowerShell (PhysicalAddress Class (System.Net.NetworkInformation))
<#.SYNOPSIS This script displays the NICs in a system and their physical address..DESCRIPTION This script is a MSDN Sample recoded in PowerShell. The script first gets all the interfaces on the system, then loops through them displaying more information about them to the console.Note the use of Console.Write in the loop at the end. Not quite sure a better PowerShell equivalient o
Last modified by Thomas Lee on 4/29/2012 2:27:09 PM
Sample updated using PowerShell (IPAddressInformation Class (System.Net.NetworkInformation))
<#.SYNOPSIS This script uses the System.Net.Networkinginformation.Networknterface class to get all network interface detais and displays the DNS addresses configured..DESCRIPTION This script first gets all the interface objects, then iterates throught them to get the DNS address(es) configured for each one..NOTES File Name : Get-DNSAddress.ps1 Author : Thomas Lee - tfl@p
Last modified by Thomas Lee on 8/4/2009 5:01:03 PM
Page view tracker