Netsh and nslookup concepts

I would like to have some clear explanations about Netsh and nslookup, how they work and when do we need to use them.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Netsh is a utility to allow you to configure a server's network settings for various network services.  See:

Nslookup is a utility that allows you to perform various lookups against a DNS server.
ChuckbuchanAuthor Commented:
I was a minute ago on those links, but they don't have a good explanation, this is why I posted this question.

if you can be patient and explain their concepts clearly would be great.


No problem.

netsh - use it when you want to view or change things on a windows server/PC's networking setup.  So if you want to change the ip address, default gateway, WINS setup, RAS setup, etc. you can use this.  THe biggest advantage of using netsh instead of windows GUI is that you can script the commands.  Otherwise, most everything you can do here, you can also do through the GUI.

nslookup - use it to perform DNS lookups and troubleshoot DNS.  You can go into nslookup and change DNS servers to see if you get different results.  You can also show particular kinds of records for a given domain, etc.  NSlookup is mostly something I use when troubleshooting.  If all I need is the IP address of a single server, i just ping <server> and see if it resolves.  If it doesn't, THEN I go into nslookup.

What are you looking to do?  Maybe that would help me give you more specific advice/info.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.