In the previous post I scripted an interface, based on the command Netsh Interface IPv6 show interfaces. But that display showed very little information. The command Netsh Interface IPv6 show interface <interfacename> shows some more information. So I changed the NetshInterface_v2.ps1 script.
What I really do like is the New-Object PSObject command. That gives me the opportunity to collect information, to compose my own objects and to proceed with those specific objects. The string handling is still clumsy, but that will improve in time.
Also the graphical interface NetshInterfaces_GUI_v2.ps1 is rewritten to show the extended information. All properties and values are derived from the object collections. What pleases me is the way the object collections can be used an manipulated with just a few code lines.
This example acts only on the local engine. But the purpose is to work with IPv6 in the test-environment. So next blog I would like to take a look at the IPv6 adapter-configurations on the virtual machines in the test-environment with WSMAN.
You can find the Powershell Scripts in the file NetshInterfaces_v2 in the download section.