Skip to content

Instantly share code, notes, and snippets.

@haraldfianbakken
Created April 12, 2014 21:03
Show Gist options
  • Save haraldfianbakken/10556706 to your computer and use it in GitHub Desktop.
Save haraldfianbakken/10556706 to your computer and use it in GitHub Desktop.
Powershell - Streaming and pipeline example
# Get a continous log stream and pass it down the line
gc .\Data\Sample.log -Tail 3 -Wait|Select-String "MyAwsomePattern"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment