Windows administrative tools command line




















ImageX , so the question is, how do you limit the scope of this I limit the scope of it to those bundled with Windows let's say, Windows 7. If some others are very interesting and provided by Microsoft, I am also interested. But no "third party" tools. Show 4 more comments. Active Oldest Votes. Improve this answer. Community Bot 1. Add a comment. Run ntcmds.

The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related 3. Hot Network Questions. To use the interactive mode, just type nslookup at the prompt.

To see all available options, type help while in interactive mode. Don't let the help results intimidate you.

Nslookup is easy to use. Some of the options I use when troubleshooting are:. Ping will test whether a particular host is reachable across an IP network, while tracert traceroute is used to determine the route taken by packets across an IP network. To ping a system just type at the prompt: ping www. Ping also includes switches to control the number of echo requests to send -n , and to resolve IP addresses to hostname -a.

To use tracert, type at the prompt: tracert www. You can force tracert to not resolve address to hostnames by using the -d switch, or set the desired timeout milliseconds for each reply using -w switch. The command is simple to use, just enter gpresults at the prompt. Netsh is like the swiss army knife for configuring and monitoring Windows computers from the command prompt. It capabilities include:. For the above command, if your NIC is named something else, use netsh interface ip show config and replace the name at Local Area Connection.

As you can see netsh can do alot. Instead of re-inventing the wheel, check out the following Microsoft article for more info on netsh. The use of Windows command line tools can be a powerful alternative when only a command prompt is available. I'm sure there are plenty more commands that I have not mention. This is Windows command line swiss knife, even though it requires some practice to get used to…. I'm using NVER command. You seem to have spent a great deal of attention on the Windows built-in command-line tools.

Perhaps you can help me:. My goal is to pipe PIDs from tasklist into netstat, so as to see what ports certain processes are using, and I am restricted to using only built-in Windows commands. Windows commands just don't have this type of functionality and since I also managed Linux servers, using the same set of command line tools made administraion easy across both OS's.

You may want to check out Windows Power Shell I don't use it only because I don't have the time to learn a new scripting language. It's a relief to have some confirmation of the absence of these tools.

I thought I just could not find them, but that they must exist. Thank you. I want to find out what ports are being used by any processes of a given imagename.

Not sure how I could be more specific than that. Clearly, I should look this up. I'm new to Windows scripting! I read some tutorials about search-and-replace in variables.

If I recall correctly, the replacement only affects the value which the variable evaluates to that time — not the underlying value actually stored in the variable. If you have a good tutorial to recommend, I'd take another look at it.

It always returns the whole line in which the regex matches, when I only want to backreference the matching parts. Well, that's two recommendations for PowerShell so far! I will see if I can use that. I do have SP2 available. If you have a chance to use PowerShell, don't bother yourself with batches. As I said, it is not even possible to compare them PowerShell is more like. NET shell. This can be especially useful if you log on to your admin workstation using a limited privilege account and use Runas to perform admin tasks.

For reference, here's a list of admin tools with their associated. You can print this out and tape it on the wall beside your workstation until you memorize the ones you use most commonly. AD Domains and Trusts domain. He has written more than a thousand articles and has authored or been series editor for over 50 books for Microsoft Press and other publishers.



0コメント

  • 1000 / 1000