Using Microsoft
             netsh



Tony Fortunato, Sr Network Specialist
       The Technology Firm
             © 2009...
Why use netsh?
 I use netsh for the following tasks;
     To reconfigure my ip stack with various ip settings
     To c...
Netsh help screen
C:Documents and SettingsTony Fortunato>netsh /?
Usage: netsh [-a AliasFile] [-c Context] [-r RemoteMachi...
Netsh example – Wireless and DHCP IP
 Setting Wireless to DHCP (I put these commands in a batch file)
        netsh inter...
Netsh example – Wireless and Static IP
 Setting Wireless to a static IP (I put these commands in a batch file)
         n...
Netsh example – show settings
 If you’re not comfortable going through the help screen, manually configure your IP
  sett...
Netsh diagnostics screen
 Netsh diag gui will launch the diagnostics screen




                                 © 2009 w...
netsh Training - QuickStart



                   Thank you




      Tony Fortunato, Sr Network Specialist
             T...
LoveMyTool.com – Community for Network Tools




  For additional educational videos on
   Open Source Network Tools, plea...
Upcoming SlideShare
Loading in …5
×

OSTU - Using Microsoft Netsh (by Tony Fortunato)

1,197 views

Published on

Tony Fortunato is a Senior Network Specialist with experience in design, implementation, and troubleshooting of LAN/WAN/Wireless networks, desktops and servers since 1989. His background in financial networks includes design and implementation of trading floor networks. Tony has taught at local high schools, Colleges/Universities, Networld/Interop and many onsite private classroom settings to thousands of analysts.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,197
On SlideShare
0
From Embeds
0
Number of Embeds
289
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

OSTU - Using Microsoft Netsh (by Tony Fortunato)

  1. 1. Using Microsoft netsh Tony Fortunato, Sr Network Specialist The Technology Firm © 2009 www.thetechfirm.com
  2. 2. Why use netsh?  I use netsh for the following tasks;  To reconfigure my ip stack with various ip settings  To configure routing entries  Display current ip settings © 2008 www.thetechfirm.com
  3. 3. Netsh help screen C:Documents and SettingsTony Fortunato>netsh /? Usage: netsh [-a AliasFile] [-c Context] [-r RemoteMachine] [Command | -f ScriptFile] The following commands are available: Commands in this context: ? - Displays a list of commands. add - Adds a configuration entry to a list of entries. bridge - Changes to the `netsh bridge' context. delete - Deletes a configuration entry from a list of entries. diag - Changes to the `netsh diag' context. dump - Displays a configuration script. exec - Runs a script file. firewall - Changes to the `netsh firewall' context. help - Displays a list of commands. interface - Changes to the `netsh interface' context. lan - Changes to the `netsh lan' context. ras - Changes to the `netsh ras' context. routing - Changes to the `netsh routing' context. set - Updates configuration settings. show - Displays information. winsock - Changes to the `netsh winsock' context. The following sub-contexts are available: bridge diag firewall interface lan ras routing winsock To view help for a command, type the command, followed by a space, and then type ?. © 2009 www.thetechfirm.com
  4. 4. Netsh example – Wireless and DHCP IP  Setting Wireless to DHCP (I put these commands in a batch file) netsh interface ip set address name=quot;Wireless Network Connectionquot; source=dhcp  netsh interface ip set dns name=quot;Wireless Network Connectionquot; source=dhcp register=PRIMARY  netsh interface ip set wins name=quot;Wireless Network Connectionquot; source=dhcp  pause  © 2009 www.thetechfirm.com
  5. 5. Netsh example – Wireless and Static IP  Setting Wireless to a static IP (I put these commands in a batch file) netsh interface ip set address name=quot;Wireless Network Connectionquot; source=static addr=192.168.1.222 mask=255.255.255.0  netsh interface ip set address name=quot;Wireless Network Connectionquot; gateway=192.168.1.254 gwmetric=0  netsh interface ip set dns name=quot;Wireless Network Connectionquot; source=static addr=192.168.1.2  pause  © 2009 www.thetechfirm.com
  6. 6. Netsh example – show settings  If you’re not comfortable going through the help screen, manually configure your IP settings and type netsh interface dump  You can pipe the output to a text file with the > © 2009 www.thetechfirm.com
  7. 7. Netsh diagnostics screen  Netsh diag gui will launch the diagnostics screen © 2009 www.thetechfirm.com
  8. 8. netsh Training - QuickStart Thank you Tony Fortunato, Sr Network Specialist The Technology Firm © 2009 www.thetechfirm.com
  9. 9. LoveMyTool.com – Community for Network Tools For additional educational videos on Open Source Network Tools, please click on the following … http://www.lovemytool.com/blog/ostu.html © 2008 www.thetechfirm.com

×