PowerShell for Windows Admins:

Network


May 16, 2012  3:12 PM

TCP/IP Alternative Configuration: pt II Set DHCP



Posted by: Richard Siddaway
Network, PowerShell, WMI

The next step on our journey to an alternative configuration is setting the NIC to use DHCP

I will keep cheating for now and specify the NIC – on my machine I now it is the NIC whose Win32_NetworkAdapterConfiguration has an Index of 7


				
								
				 

				Bookmark and Share

				   

				 0 Comments
				   

				  RSS Feed
				   

				  Email a friend

			
			
			

May 13, 2012  10:34 AM

TCP/IP Alternative Configuration: pt I The configuration



Posted by: Richard Siddaway
Network, PowerShell, WMI

A question on the forum got me wondering about setting the Alternative Configuration on a TCP/IP properties of a network adapter. NICs are normally configured to either DHCP or a static address. If you use DHCP another tab “Alternative Configuration” appears on the IPv4 properties dialog....


March 30, 2012  8:49 AM

PowerShell in Practice offer today only



Posted by: Richard Siddaway
Active Directory, Books, Hyper-V, Network, Operating System, PowerShell, Processor, Registry, WMI

Manning have PowerShell in Practice on a half price offer today. Go to www.manning.com and use code dotd0330cc when ordering


March 11, 2012  11:22 AM

Setting a Network address in Windows Server 8



Posted by: Richard Siddaway
Network, PowerShell 3, Windows Server 8, WMI

 

Windows Server 8 & Windows 8 bring a host of new functionality to us. I wanted to try out some of it so created a new VM and installed the OS – went for full GUI for now

Opened PowerShell and ran

Set-ExecutionPolicy remotesigned
Enable-PSRemoting...


January 1, 2012  6:12 AM

Changing IP Connection Metric



Posted by: Richard Siddaway
Network, PowerShell, WMI

A question on the forums asked how the connection metrics could be set on a Windows system.

We need to start by identifying the network adapters using this function

function test-ipmetric {
Get-WmiObject -Class Win32_NetworkAdapter -Filter "AdapterType = 'Ethernet...


November 8, 2011  1:20 PM

Hosts file – add an IPv6 address



Posted by: Richard Siddaway
Network, PowerShell v2

This builds on adding an IPv4 address -

Bookmark and Share     0 Comments     RSS Feed     Email a friend


November 6, 2011  1:50 PM

IPv6 Link local addresses and device identifier



Posted by: Richard Siddaway
Network, PowerShell, Registry, WMI

If I run ipconfig on my system the partial results are this

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . : tiscali.co.uk
   Link-local IPv6...


November 5, 2011  5:56 AM

Working with IPv6



Posted by: Richard Siddaway
Network, PowerShell v2, WMI

A comment was left on one of the articles in my recent series on working with the hosts file asking about using IPv6.  I’ve not used it really as I’ve never had any reason but it seems a good idea to dig into it a bit as IPv6 is enabled by default in Windows Vista and above.

...


October 31, 2011  4:52 PM

Reading the hosts file–revised



Posted by: Richard Siddaway
Network, PowerShell v2

Quick revision to the post on reading the hosts file

Bookmark and Share     0 Comments     RSS Feed     Email a friend


October 30, 2011  2:38 PM

Clearing hosts file



Posted by: Richard Siddaway
Network, PowerShell v2

We seen how to delete a single entry from the hosts file – this is how we clear all entries

function clear-hostfilecontent {            
 
				
								
				 

				Bookmark and Share

				   

				 0 Comments
				   

				  RSS Feed
				   

				  Email a friend

			
			
			


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: