Something Quick

by stephen mcgroarty 7/9/2008 2:24:41 AM

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

Powered by BlogEngine.NET 1.3.0.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

<<  August 2008  >>
SuMoTuWeThFrSa
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

View posts in large calendar

Recent comments

Disclaimer

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

© Copyright 2008