Skip to content
This repository was archived by the owner on Nov 13, 2022. It is now read-only.

Commit 6f8be6c

Browse files
committed
Add tail.ps1 wrapper
1 parent 6229ca0 commit 6f8be6c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Scripts/tail.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[cmdletbinding()]
2+
param(
3+
[paraMetEr(ValueFromPipeline)]
4+
[string]$path,
5+
[int]$lineCount = 5
6+
)
7+
8+
cat $path -tail $lineCount -wait

0 commit comments

Comments
 (0)