The Realm of the Verbal Processor

Jarvis's Ramblings

Command Line IP Configuration

Had a situation this week where I needed to configure IP address, IP Gateway, DNS, Subnet Mask, and DNS Suffix from the command line. Not hard once you have the commands. Putting it here as a reference for myself and others. Here are the three commands for doing this…be careful of line wrapping.

netsh interface ipv4 set address name="local area connection" source=static address=10.10.0.100 mask=255.255.0.0 gateway=10.10.0.254

netsh interface ipv4 add dnsserver name="local area connection" address=10.10.1.1 index=1

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v "SearchList" /d "domain.com" /f

Advertisements

September 14, 2012 Posted by | Misc, scripting | 1 Comment

System Center 2012 Self-Study Guide

I came across this while helping a client yesterday. Good post by Steve Rachui with links to TONS of info to get you up to speed on Configuration Manager 2012.

http://blogs.technet.com/b/musings_of_a_technical_tam/archive/2012/06/08/system-center-2012-self-study-guide-part-3-system-center-configuration-manager.aspx

September 14, 2012 Posted by | ConfigMgr 2012 | Leave a comment