Something Quick

by Stephen 7/8/2008 9:24:41 PM

So a quick one for you all. Windows Find command. It is a nice simple command and it helps find files and folders on a computer, but it can also work kind of like grep for linux. It can read the output of another command and find what you are looking for.

C:\Users\smcgroarty>netstat -ano | find  /i "135"
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       832
  TCP    [::]:135               [::]:0                 LISTENING       832

When used with the /i switch it tells it to ignore case so it will just match what is in the double quotes.

C:\Users\smcgroarty>systeminfo | find /i "Boot time"
System Boot Time:          7/8/2008, 11:44:04 PM

C:\Users\smcgroarty>systeminfo | find "Boot time"

So that is my tip of the week.

Next time I am going to try for terminal services.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Weekly Tip

Comments

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen
Hacked by Stephen McGroarty
Content © Stephen McGroarty


About the author

Stephen Mcgroarty - Avatar Stephen McGroarty

I am a Microsoft Certified Professional with Windows 2003 Server. I have a firm understanding of Linux, Windows, and everything needed for both workstation and servers.

E-mail me Send mail

Calendar

<<  February 2012  >>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

View posts in large calendar

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012