DNS Domain Suffix update script

A script to help modify/change/update the DNS Domain Suffix on a Network Adapter   On Error Resume Next strComputer = “.” arrNewDNSSuffixSearchOrder = Array(“hr.fabrikam.com”, “contoso.com”) Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\” & strComputer & “rootcimv2”) Set colNicConfigs = objWMIService.ExecQuery _ (“SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True”) For Each objNicConfig In colNicConfigs strDNSHostName

TCP/UDP Ports for Windows Server and Workstation

Hey Firewall Admin–please open up the following ports for me.  🙂 Port Protocol Application protocol System service name n/a GRE GRE (IP protocol 47) Routing and Remote Access n/a ESP IPsec ESP (IP protocol 50) Routing and Remote Access n/a AH IPsec AH (IP protocol 51) Routing and Remote Access 7 TCP Echo Simple TCP/IP

Set MTU packet size on an adapter

Warning: These setting affect all packets sent to all destinations and performance can severly be affected. This is registry modification to hardcode specific MTU sices on a particular network interface:   Click Start, click Run, type regedit, and then click OK. Locate the following key in the registry: HKEY_LOCAL_MACHINESYSTEMCurrentControlSet ServicesTcpipParametersInterfaces On the Edit menu, point