The Powershell equivalent to grep

I’m posting this mainly for my own use, since I keep forgetting the syntax. To search for a string in a source code tree, the command would look something like this:

Get-ChildItem -filter *.cs -recurse | Select-String -pattern "SearchTerm" -casesensitive

Plus or minus options, of course. You can also specify a base path for Get-ChildItem if required.

Hacking and Hollywood

This is an old and well-worn example of a television attempt to incorporate IT security into a plot-line

It amuses me that Hollywood writers seem to believe that hacking and IT Security are some form of online, multi-player “Mavis Beacon Teaches Typing.”   The portrayals tend to revolve around a scenario that goes something like this:  “Oh no, our firewall is being hacked by an elite typist!  He must be hacking at 90 words per minute, or more!   Our only chance to block him is to type EVEN FASTER!”