Friday, November 14, 2008

from the darkside, redux: powershell part 3

So I played with powershell, again. Realize that my idea that program cannot be opened is quite wrong.
Turn out that most does work, I tested the command line program anyway. So netstat, ping etc, does work.
So let say, I want to extract some data from such a program, I use netstat here.

netstat|select-string '8080'

Let say I wanted to see all the 8080. It would work like linux, or unix. Except we don't use grep, we use
select-string instead.

It just day 3, still have more to compare.

No comments:

Post a Comment