Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » networking   (RSS)

Hey, Scripting Guy! How Do I Query and Retrieve DNS Information?

Hey, Scripting Guy! I know I can use the DNS WMI provider and query a DNS server. But what if I am not using a Microsoft DNS server? Or what if I do not have admin rights on the DNS server? What happens then? I really do not want to resort to parsing

Hey, Scripting Guy! How Do I Create a New DNS Zone?

Hey, Scripting Guy! I need to create several new zones in DNS, and I do not want to waste time working through the GUI wizard. I mean, real network administrators do not use wizards. In the old days, this was easy: I’d just edit a .dns file and I’d be

Hey, Scripting Guy! How Can I Create DNS Mail Exchanger (MX) Records and Have a Text File Generated to Show What Was Created?

Hey, Scripting Guy! We are adding some new Exchange Servers to our messaging infrastructure, and I want to create some new MX (Mail Exchanger) records in DNS. I do not want to to create these records manually because carpal tunnel is not my friend and

Hey, Scripting Guy! How Do I Check Host Name Records?

Hey, Scripting Guy! We are having name resolution issues at work. It is so bad that when my wife calls me, the guy in the other cube gets the call. This manifests itself in concrete ways as well. Opening Office Outlook seems to take forever; going to

How Can I Modify the Output of the Ping Command?

Hey, Scripting Guy! How can I place the current date and time at the beginning of each line of Ping.exe output? -- AL Hey, AL. We have to admit, we were a little shocked by your question. Change the output of the Ping command? Really, AL. Would you ask

How Can I Prevent a Computer from Using the LMHosts File?

Hey, Scripting Guy! How can I prevent a computer from using the LMHosts file? -- MJ Hey, MJ. You know, this was an interesting one, at least for the Scripting Guys. Not because the script was hard to write; that was actually pretty easy. What was hard

How Can I Display the IP Addresses Associated with a Given MAC Address?

Hey, Scripting Guy! How can I display the IP addresses associated with a given MAC address? -- NK Hey, NK. Before we answer your question we should take a moment to answer a related question. People often ask us, “If I have a MAC address can I write a

How Can I Associate a Network Connection with an IP Address?

Hey, Scripting Guy! How can I determine the local area connection that’s associated with a particular IP address? -- SH Hey, SH. Believe it or not, this is a fairly complicated procedure, and for two reasons. To begin with, we have to use two separate

How Can I Rename a Local Area Connection?

Hey, Scripting Guy! How can I rename a local area connection? -- AP Hey, AP. You know, you hurt our feelings here: we Microsoft types spent a lot of time coming up with clever and catchy names like Local Area Connection, Local Area Connection 2, and Local

How Can I Configure a Computer to Use a Dynamically-assigned DNS Server?

Hey, Scripting Guy! How can I configure a computer to use a dynamically-assigned DNS Server? -- JB Hey, JB. Ah, this question brings back memories. A couple years ago the Scripting Guys were faced with this same problem, and discovered the answer entirely

Why Doesn't My Ping Script Run on Windows 2000 Computers?

Hey, Scripting Guy! I have a script that pings a computer before it tries to connect to it. The script works fine on Windows XP, but doesn’t work at all on my Windows 2000 computers. Do you have any idea why? -- AK Hey, AK. As a matter of fact, we do
 
Page view tracker