Skip to content

Instantly share code, notes, and snippets.

@tshm
Last active December 22, 2015 17:15
Show Gist options
  • Save tshm/f536e88db15572179233 to your computer and use it in GitHub Desktop.
Save tshm/f536e88db15572179233 to your computer and use it in GitHub Desktop.
tail command with powershell
# get-date -format yyyyMMdd | %{ $dd = $_ }
$dd = $(get-date -format yyyyMMdd)
cat ("C:\log\{0}.log" -f $dd) -wait -tail 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment