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.