| Windows - netsh - Change you IP address via the CLI |
| Vendor | Microsoft |
| Platform | Windows XP |
| Version | SP2 |
| Microsoft - General |
| Saturday, 17 January 2009 16:38 |
|
Netsh.exe is a network administration tool that allows you to configure and monitor Windows-based computers at a command prompt. With the Netsh.exe tool, you can direct the context commands you enter to the appropriate helper, and the helper then carries out the command. Setting you IP addressBelow is the syntax for setting the IP address for your wireless connection and adding to DNS servers. Note you can get the name of your interface from the IP config command. netsh interface ip set address name="Wireless Network Connection 3" static [ip] [netmask] [gw] Saving your configuration and importingTo export your configuration To import your configuration netsh -f interface dump > c:\location1.txt Windows firewallBelow shows the syntax for opening a port, showing your firewall state, and disabling the firewall netsh firewall set portopening tcp 445 smb enable GUInetsh diag GUI DiagnosticsBelow will connect to the default incoming and outgoing mail servers then drop the connection. Easier for customers than trying to telnet to the mail server ports. netsh diag connect mail Reset all IP protocol stack configurations on your interface and send the output to a log file. netsh int ipv4 reset resetlog.txt
|
Latest Articles
- Tool - SSLReport
- Brocade ADX - How to perform an image upgrade
- Cisco ASA reboots/crashes when running the command 'show service-policy interface outside set connection detail'
- Brocade ADX - Persistence
- How to define a port range on a Juniper SRX
- Path MTU Discovery (PMTUD) / Path MTU Black Holes
- Mitigating DoS attacks on a Cisco ASA
- How do I clear the Cisco ASA connection counters ?
- High CPU Usage on a Cisco CSS
- How to clone a MySQL database
- Brocade ADX - Configuring SSL
- Brocade ADX - Content Switching Rewrite
- Joomla - How to add a custom field
- BigIP F5 LTM - How to Create a Sorry Page with Image
- BigIP F5 LTM - TCP Syslog
- Cisco ASA - Traffic blocked when TCP syslog server is unreachable
- Excel - Unable to open file
- Brocade ADX - DoS Protection
- Brocade ADX - LoadBalancing Methods
- Brocade ADX - Healthcheck Elements
Popular
- Proxy ARP – SPLAT
- Check Point Commands
- IPSO - Commands
- ASA 8.3 - How to configure NAT
- vSphere - Creating User and Group Permissions
- PEMU - Free Cisco PIX Firewall Emulator / Simulator
- Juniper Netscreen Commands
- Juniper - NAT Explained
- Configuring Wireless Connectivity within Backtrack 4 r2
- ESX Convertor - The session is not authenticated
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX - ViClient Cannot connect to host
- Troubleshooting a Netscreen Site 2 Site VPN
- Endpoint Connect Installation / Troubleshooting Guide
- ESXi - Connecting to a named pipe
- Check Point - How to Reset SIC
- ESXi White Box - HP DL140
- DNS / nslookup - How to find the root servers ?
- Netscreen - Routing Basics / Virtual Routers / PBR
